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 #:  114032   Status: Open
TColorBox 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 10:35:09 AM
Severity:    Serious / Highly visible problem Last Updated: 3/21/2013 6:12:04 PM
Platform:    All versions Internal Tracking #:   37469
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 TColorBox 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 TColorBox component to the main form
3. Set a VCL Style in the Application
4. Run the Applicaiton
Workarounds
The TCustomComboBox.CNDrawItem method must be fixed.
Attachment
114032.zip
Comments

None

Server Response from: ETNACODE01