BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hiding PageControl tabs

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Stark
Guest





PostPosted: Sat Jan 15, 2005 11:47 pm    Post subject: Hiding PageControl tabs Reply with quote



In a PageControl with 5 pages I need to hide 3 of the tabsheets when certain
condition arise. I tried to set the the Tabshhet visible property to false,
but it doesn't work. The page gets blank, but the Tab is still there. Is
there a way ?


Back to top
Michael Brown
Guest





PostPosted: Sun Jan 16, 2005 12:46 am    Post subject: Re: Hiding PageControl tabs Reply with quote



Stark wrote:
Quote:
In a PageControl with 5 pages I need to hide 3 of the tabsheets when
certain condition arise. I tried to set the the Tabshhet visible
property to false, but it doesn't work. The page gets blank, but the
Tab is still there. Is there a way ?

Use the TabVisible property (of the TTabSheet you want to hide).

--
Michael Brown
www.emboss.co.nz : OOS/RSI software and more Smile
Add michael@ to emboss.co.nz ---+--- My inbox is always open



Back to top
AlanGLLoyd
Guest





PostPosted: Sun Jan 16, 2005 8:10 am    Post subject: Re: Hiding PageControl tabs Reply with quote



In article <mYhGd.412075$b5.19914688 (AT) news3 (DOT) tin.it>, "Stark"
<franco.jommi (AT) tin (DOT) it> writes:

Quote:
In a PageControl with 5 pages I need to hide 3 of the tabsheets when certain
condition arise. I tried to set the the Tabshhet visible property to false,
but it doesn't work. The page gets blank, but the Tab is still there. Is
there a way ?


Use ...

TPageControl.Pages[n].TabVisible

TTabSheet Properties in Delphi Help

Alan Lloyd
[email]alanglloyd (AT) aol (DOT) com[/email]

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.