Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Share Me

  • Please share this topic with your friends. Click any of the icons below:
  • Twitter
  • facebook
  • reddit
  • email

Fix Theming-Drawing of TElComboBox

In Unit ElCombox.pas we remove following lines in methode TCustomElComboBox.PaintText to get correct drawing:

    if LMDSIWindowsVistaUp and Focused and (Style = csDropDownList) and IsThemed then
    begin
      LOldBkColor := FocusedSelectTextColor;
      FFocusedSelectTextColor := Font.Color;
      inherited;
      FFocusedSelectTextColor := LOldBkColor;
    end
    else

Comments

Sign In or Register to comment.