Depending on the version of Delphi you should
Delphi XE2
For Delphi XE2 you have to write Style Hook
uses Vcl.Styles, Vcl.Themes; type TComboBoxStyleHookExt= class(TComboBoxStyleHook) procedure UpdateColors; strict protected procedure WndProc(var Message: TMessage); override; public constructor Create(AControl: TWinControl); override; end; TWinControlClass= class(TWinControl); { TComboBoxStyleHookExt } constructor TComboBoxStyleHookExt.Create(AControl: TWinControl); begin inherited; UpdateColors; end; procedure TComboBoxStyleHookExt.UpdateColors; const ColorStates: array[Boolean] of TStyleColor = (scComboBoxDisabled, scComboBox); FontColorStates: array[Boolean] of TStyleFont = (sfComboBoxItemDisabled, sfComboBoxItemNormal); var LStyle: TCustomStyleServices; begin if Control.Enabled then }
Delphi XE3 / XE4
Just remove the seClient value from StyleElements propertty
ComboBox1.StyleElements:=[seFont, seBorder]; ComboBox2.StyleElements:=[seFont, seBorder]; ComboBox3.StyleElements:=[seFont, seBorder];

Rruz source share