Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Styles    [ Add a report in this area ]  
Report #:  104371   Status: Open
painting problems using styles
Project:  Delphi Build #:  16.0.4429.46931
Version:    16.4 Submitted By:   jesu ortega
Report Type:  Minor failure / Design problem Date Reported:  3/22/2012 11:44:15 PM
Severity:    Commonly encountered problem Last Updated: 10/24/2012 6:49:31 PM
Platform:    All platforms Internal Tracking #:   26741
Resolution: None (Resolution Comments) Resolved in Build: : 17.0.4625.53395
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 11
Description
With styles activated there are some situations in which the controls are not painted right. I've encountered this problem mainly with DBGrid, scrollbars...

By the way, firemonkey has the same kind of problems.
Steps to Reproduce:
Run the attached program and press the button.

Expected: the grid should be full with data.
Actual: it remains blank till you click on each record.

If you disable styles it works right.
Workarounds
If you add a dbgrid.refresh to buttonclick it works, but in a complex application having to add code everywhere would be a mess.
Attachment
Pruebastyle.zip
Comments

Tomohiro Takahashi at 4/3/2012 7:53:47 PM -
This report was opened with valid Internal Tracking Number.
Thanks.

Server Response from: ETNACODE01