Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Delphi-BCB/VCL/Styles/Control Hooks    [ Add a report in this area ]  
Report #:  114040   Status: Open
TComboBoxEx doesn't use the proper Highlight colors when the VCL Styles are active
Project:  Delphi Build #:  17.0.4770.56661
Version:    17.1 Submitted By:   Rodrigo Ruz
Report Type:  Basic functionality failure Date Reported:  3/21/2013 1:11:32 PM
Severity:    Serious / Highly visible problem Last Updated: 3/22/2013 3:00:17 AM
Platform:    All versions Internal Tracking #:   37470
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 1
Description
The TComboBoxEx component doesn't use the proper Highlight colors when the VCL Styles are active.

The component is using the Windows Native clHighlight and clHighlightText colors instead of use StyleServices.GetSystemColor(clHighlight) and  StyleServices.GetSystemColor(clHighlightText)
Steps to Reproduce:
1. Create a new VCL application
2. Drop a TComboBoxEx component to the main form
3. Set a VCL Style in the Application
4. Run the Application
Workarounds
The TComboBoxExStyleHook.DrawListBoxItem must be fixed
Attachment
114040.zip
Comments

None

Server Response from: ETNACODE01