Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Win 32 Controls/TPageControl    [ Add a report in this area ]  
Report #:  29078   Status: Closed
TTabSheet.Highlighted does nothing with XP themes enabled
Project:  Delphi Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Erik Berry
Report Type:  Minor failure / Design problem Date Reported:  5/13/2006 12:57:02 PM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   240361
Resolution: As Designed (Resolution Comments) Resolved in Build: : 11.0.2445.31837
Duplicate of:  None
Voting and Rating
Overall Rating: (3 Total Ratings)
5.00 out of 5
Total Votes: None
Description
TTabSheet.Highlighted does nothing with XP themes enabled

Tabs with and without Highlighted set both display the same with XP themes enabled.  Without themes, Highlighted tabs have a different color background behind the tab caption.  Even if the default Windows tabs don't support this, Borland could improve on that by custom drawing the tab background.
Steps to Reproduce:
Open the attached project and verify one tab is set to Highlighted=True and the other is not under XP
Run the application and verify both paint the same at runtime
Remove XPMan from the uses clause and note the tabs paint differently now
See the attached screenshots for an example of how it looks
Workarounds
Disable themes for your application, run app under Windows 2000 or earlier
Attachment
JED329.zip
Comments

None

Server Response from: ETNACODE01