TsComboBox misdrawn when not skinned.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #70983
    Alan Montgomery
    Participant

    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.
    #70992
    Support
    Keymaster

    Hello Alan
    Thank you for screenshots, I will check it before a new release.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.