 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Stark Guest
|
Posted: Sat Jan 15, 2005 11:47 pm Post subject: Hiding PageControl tabs |
|
|
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
|
Posted: Sun Jan 16, 2005 12:46 am Post subject: Re: Hiding PageControl tabs |
|
|
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
Add michael@ to emboss.co.nz ---+--- My inbox is always open
|
|
| Back to top |
|
 |
AlanGLLoyd Guest
|
Posted: Sun Jan 16, 2005 8:10 am Post subject: Re: Hiding PageControl tabs |
|
|
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 |
|
 |
|
|
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
|
|