When a TsComboBox is used in an unskinned app as a drop down list then it is drawn without a border – see ComboBoxNoBorder.
The problem appears to be in TsCustomComboEdit.OurPaintHandler.
If unskinned it does a BitBlt reduced by 3 pixels in all directions.
However I don’t see anything that ever draws the border – TsCustomComboEdit.PaintNCArea and TsCustomComboEdit.PaintBorder don’t get called in this case.
I suspect the Reduced BitBlt should be in the skinned case as I think when skinned it does call PaintBorder.
If I change the unskinned BitBlt to be the same as the skinned one then it looks correct – see ComboBoxWithBorder.
Attachments:
You must be
logged in to view attached files.