|
-
Jan 26th, 2004, 12:18 PM
#1
Thread Starter
Addicted Member
ssTAB
I am using the ssTab control for my app, the problem i am having is:
When i try to decrease the number of tabs:
VB Code:
frmMain.SSTab1.Tabs = frmM.SSTab1.Tabs-1
i get the error:
380:Invalid property value
is there a way to reduce the number of tabs at runtime?
-
Jan 26th, 2004, 12:21 PM
#2
Supreme User
No, you can only set the amount of tabs at design time. You can however use the Tab control from Windows Common Control SP4.3 or whatever, and dynamically set the amount of tabs at run time.
-
Jan 26th, 2004, 12:26 PM
#3
Thread Starter
Addicted Member
I can increase the number of tabs at runtime without any problems, so why can i not reduce them?
-
Jan 26th, 2004, 12:28 PM
#4
-
Jan 26th, 2004, 12:32 PM
#5
Thread Starter
Addicted Member
Yeah, sorry about that it's just a typo on the post it is correct in the code.
-
Jan 26th, 2004, 04:18 PM
#6
You cannot remove a Tab if it contains controls and you cannot remove the last tab.
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
|