Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Delphi-BCB/Database/Data Aware Controls/TDBNavigator    [ Add a report in this area ]  
Report #:  52439   Status: Closed
DbNavigator paints incorrectly when flat=true in themed mode
Project:  Delphi Build #:   11.0.2804.9245
Version:    11.0 Submitted By:   Leon Bemmelmans
Report Type:  Minor failure / Design problem Date Reported:  9/24/2007 3:28:10 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   256527
Resolution: Fixed (Resolution Comments) Resolved in Build: : 14.0.3300.19517
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
4.50 out of 5
Total Votes: 44
Description
When you use a TDbNavigator in themed mode with Flat=True it paints incorrectly, not showing enabled/disabled
state.
Steps to Reproduce:
//make sure windows is themed
1. Create a VCL VCL App
2. Drop two DbNavigators, set Flat=True in one of them, leave Flat=False in the second for comparison.
3. Drop a TDataSource and a TClientDataSet, linking the datasource to the clientdataset and both navigators to the
datasource.
4. Right click on the clientdataset and choose Load from MyBase table. Choose employee.xml from Common Files
\CodeGear Shared\Data (or any other data).
5. Run the application and click Last and First.
exp: Flat navigator should paint buttons as disabled when appropriate.
act: Buttons paint incorrently.
Workarounds
None
Attachment
None
Comments

Issam Ali at 2/15/2009 11:49:07 AM -
I have a workaround on this:
http://blog.issamsoft.com/index.php?q=en/node/37

Server Response from: ETNACODE01