I just commit in the Vcl Styles Project two new fixes to patch the QC 114040 and QC 114032 (these issues exist in Delphi XE2 and XE3), both reports are related to the Highlight colors used to draw the TColorBox and TComboBoxEx components when the Vcl Styles are active.
As you can see in the below image the TColorBox component doesn’t use the proper highlight color, but the TColorListBox uses the highlight color of the current Vcl Style.
The TColorBox control doesn’t use a Style Hook, so the fix was done using a interposer class. To apply the path just add the Vcl.Styles.Fixes unit to your uses list after of the Vcl.ExtCtrls unit. And the result will be
The TComboBoxEx control have a similar issue.
In this case fixing the Style Hook related to the TComboBoxEx control was the key.
To apply this fix, just register the TComboBoxExStyleHookFix style hook located in the Vcl.Styles.Fixes unit.
March 28, 2013 at 4:14 am
Thanks for the updates. They helped me a lot.
There is one problem though, with TComboBox component’s BiDi setting for RightToLeft languages: the alignment is still left-to-right on the component’s text. The expanded list, however, is ok.
Best of luck.
March 28, 2013 at 10:16 am
Mowat, thanks for your feedback, please report this issue in the issue page of the project http://code.google.com/p/vcl-styles-utils/issues/list