-
March 31st, 2004, 06:41 PM
#1
sstab control
Hi guys,
I have a tab control that I have text files in them. If one of files in the middle is closed how do I delete that tab.
eg 3 tabs I want to kill the 2nd one.
Any help is appreciated.
Wayne
-
April 1st, 2004, 01:38 AM
#2
you can change the number of tabs at runtime using the tabs property :
sstab.Tabs=N
but i don't know how to remove a certain tab.
-
April 1st, 2004, 07:20 AM
#3
Thanks for your reply. I have just about decided to leave it blank and load the next file into it or move all the tabs ahead down and delete the last one.
Wayne
-
April 1st, 2004, 12:09 PM
#4
You can hide the tab instead of deleting it. That way all your indexes will stay the same.
'This hides the 4th tab (0-based)
tab1.TabVisible(3) = False
I'd rather be wakeboarding...
-
April 2nd, 2004, 11:58 AM
#5
Thanks
I hadn't thought about that.
Wayne
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|