Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Additional Controls/TStringGrid    [ Add a report in this area ]  
Report #:  98937   Status: Closed
[WinXP] TStringGrid DrawingStyle gdsThemed not working on Win XP
Project:  Delphi Build #:  16.0.4256.43595
Version:    16.0 Submitted By:   Peter Hantschke
Report Type:  Basic functionality failure Date Reported:  9/15/2011 6:12:45 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   287711
Resolution: Fixed (Resolution Comments) Resolved in Build: : latest build
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Using the default DrawingStyle-property = gdsThemed hides the content of the cells, when you are runnig on Win XP with the default blue Windows-Theme.

This only occurs by selecting [goRowSelect] = True or [goRangeSelect] = True when multiple cells are selected.
Steps to Reproduce:
1. Create a new VCL-Forms-Application
2. Place a TStringGrid on the form
3. Fill the Grid with some Values
4. Enable RowSelect OR RangeSelect
5. Run the application on Win XP with default blue XP-Theming (green doesn't work too, silver has only less important painting problems but is also not perfect)
6. Select a Row or some Cells
7. The content of the selected cells vanish "under" the selected area. The frame of the selected area is randomly dotted or solid but should be always dotted or always solid (I think).
Workarounds
Use gdsGradient or gdsClassic
Attachment
TStringGridBug.zip
Comments

Tomohiro Takahashi at 9/16/2011 1:14:09 AM -
Could you please attach sample project(including some screenshots) to reproduce/confirm your issue?

Peter Hantschke at 9/16/2011 4:25:38 PM -
The pictures are made with blue theming but the others are quite similar. The differences of the frame appearance depends on the clicking order of different rows.

Tomohiro Takahashi at 10/10/2011 10:31:17 PM -
We hope this issue will be fixed in future update release.

Server Response from: ETNACODE01