T-Bear
23-12-2011, 10:49 PM
Hi, i have a TPagecontrol, with 5 TTabSheets. Now my problem is, that i want to show only some of these tabs at the same time. How can i hide a TTabSheet in lazarus?
I have tried it in these ways...
TTabsheet.visible:=False;
TTabsheet.Hide;
...but this doesn't seem to work...
Any ideas? Thanks! ;)
Edit:
Oh figured it out. I just set the TTabSheet.Tabvisible property to false.
I have tried it in these ways...
TTabsheet.visible:=False;
TTabsheet.Hide;
...but this doesn't seem to work...
Any ideas? Thanks! ;)
Edit:
Oh figured it out. I just set the TTabSheet.Tabvisible property to false.