|
-
Jul 19th, 2006, 08:50 AM
#1
Thread Starter
Addicted Member
[RESOLVED] remove a tab
This is another silly question, but I can't figure it out.. I am using a Tab control,, I had 3 tabs at one point, but now I only want 2, I don't see anywhere to remove a tab, it is the last one, so should be easy.. If I reset the tab index number, I get "Invalid Property Value".. I don't want this done in code, I found that, but set permanently in application... Thanks so much In case it matters it is SSTab control.
-
Jul 19th, 2006, 08:52 AM
#2
Re: remove a tab
just change the Tabs property in the property window. You'll probably also want to change the TabsPerRow property.
-
Jul 19th, 2006, 08:52 AM
#3
Addicted Member
Re: remove a tab
Debbie - in the IDE, if you right-click on the SSTab you should get a "properties" window that will allow you to add, delete, etc your tabs...is this what you had in mind?
-
Jul 20th, 2006, 06:57 AM
#4
Thread Starter
Addicted Member
Re: remove a tab
thanks for both replys, but I have done both, they are kind of obvious and I thot should work, but that is where I get my error. Have either of you actually tried those or just assuming that they work?? I may just create the thing over again.. Thanks again..
-
Jul 20th, 2006, 07:01 AM
#5
Re: remove a tab
you said you got your error when you modified the TabIndex property - that's got nothing to do with the SSTab control, it determines what order the controls are accessd by pressing the Tab key.
Have you tried modifying the Tabs property? It should (does) work...
-
Jul 20th, 2006, 10:45 AM
#6
Re: remove a tab
You need to remove any controls from a Tab before the Tab can be deleted.
-
Jul 20th, 2006, 11:37 AM
#7
Thread Starter
Addicted Member
Re: remove a tab
You are brilliant... thanks so much....
-
Jun 18th, 2007, 10:41 AM
#8
Frenzied Member
Re: [RESOLVED] remove a tab
I have 4 tab, I want only 2 tab... I want to delete index 0 and 1. How?
-
Jun 18th, 2007, 11:26 AM
#9
Re: [RESOLVED] remove a tab
You have to move everything from tabs 2 and 3 onto tabs 0 and 1 and then delete tabs 2 and 3.
-
Aug 8th, 2007, 12:41 PM
#10
New Member
Re: [RESOLVED] remove a tab
I've read this post and it's exactly what I'm looking for. However, this isn't working for me. I have a SST with 4 tabs (4 Tabs and 4 TabsPerRow). I need to delete the second tab. I already have all the controls off that specific tab, but I can't seem to delete it. I've tried changing the tabs property to equal 3, but I still get that 'Invalid Property Value'. Can anyone clarify this any further?? Thanks ahead of time.
-
Aug 8th, 2007, 12:53 PM
#11
Member
Re: [RESOLVED] remove a tab
tllsettler : that wouldn't work because it always deletes the last tab.
Copy the contents of the 3rd tab to the 2nd and the 4th to the 3rd, then change the number of tabs. I think it will work that way.
-
Aug 8th, 2007, 12:53 PM
#12
New Member
Re: [RESOLVED] remove a tab
Ahhh... nevermind. I've seen the light. It automatically takes the last tab as the one to be deleted, so I needed to make sure all controls were off that one. A fine job of copy & pasting.
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
|