Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Win 32 Controls/TPageControl    [ Add a report in this area ]  
Report #:  60885   Status: Open
PageControl paints the last page when runtime themes are disabled
Project:  Delphi Build #:  11.0.2804.9245
Version:    11.2 Submitted By:   Roeland Van Heddegem
Report Type:  Basic functionality failure Date Reported:  4/14/2008 3:22:14 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   268855
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
5.00 out of 5
Total Votes: 32
Description
This happens:
1) only at Design Time
2) and when the Runtime Themes are disabled
3) and just after the loading of a unit (is it by opening of a project or by opening of the unit)

At first the pagecontrol is correctly painted.
But when you click on whatever component (it doesn't matter which), the pagecontrol paints the last page.
Steps to Reproduce:
1) Open the project (see attachment)
2) Click on label2 or on the pagecontrol, except for the pageheaders.

3) => The LAST page is painted
Workarounds
None
Attachment
PageControl paint problem.zip
Comments

Christophe LACH at 6/23/2008 9:22:17 AM -
Same problem here with delphi 2007 and vista.

And we have pagecontrols that contain other pagecontrols .... awfull ;-)

Markus Humm at 4/3/2009 2:43:11 AM -
Marked as "needs attention". The step before "open".

Tomohiro Takahashi at 4/6/2009 10:47:00 PM -
> This happens:
> 1) only at Design Time
This issue still occurs with Delphi 2009.

Ronald Greissler at 8/5/2009 6:56:35 AM -
The same problem is after deletion some component on first (second, etc.) page. PageControl paints the last page again.

And when you click on page one and you want insert a component, pagecontrol inserts that component on page two. (Similar page two inserts on page three and so on). You have to click into tabsheet and then pagecontrol works correctly.

José Ricardo Aviles at 8/19/2009 2:43:21 PM -
I have the same problem too.
Delphi 2009 with windows vista
CQ#76806

Server Response from: ETNACODE01