Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Win 32 Controls/TPageControl    [ Add a report in this area ]  
Report #:  77465   Status: Closed
Incorrect drawing of TTabControl and TPageControl
Project:  Delphi Build #:  3513
Version:    14.0 Submitted By:   Peter Pokorny
Report Type:  Basic functionality failure Date Reported:  9/7/2009 7:46:57 PM
Severity:    Infrequently encountered problem Last Updated: 9/12/2010 5:13:50 PM
Platform:    All platforms Internal Tracking #:  
Resolution: Duplicate (Resolution Comments) Resolved in Build: : None
Duplicate of:  70981
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Both the TTabControl and TPageControl do not draw correctly if the TabPosition is set to anything other then "tpTop".
Steps to Reproduce:
Create new VCL forms app.

Place TTabControl and TPageControl on it.

Create couple of Tabs / Pages on each.

Set the TabPosition to "tpBottom" - and you will see that it does not draw correctly. Not sure if this is design limitation of the standard windows controls - but it does not look right. Only TabPosition that works as expected is the "tpTop".
Workarounds
None (Or only use both of these controls with TabPosition := tpTop. (Which is the default one).
Attachment
None
Comments

Tomohiro Takahashi at 9/7/2009 8:59:18 PM -
Is your issue same as QC#70981, QC#2527 ?

Francois Rautenbach at 10/5/2009 2:41:46 AM -
This is mainly because of a limitation in the design of the Windows XP (and higher) theming engine. With theming enabled (the default), tabs can only be drawn at the top.

That said, there is an exceptable solution but it requires rotating and inverting the top tab so that it can be shown upside down and also along the sides.

Peter Pokorny at 9/8/2009 3:53:36 PM -
Yes, it is same as 70981. Please mark this issue as closed.

Server Response from: ETNACODE01