Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSTab control remove tab not hide

Status
Not open for further replies.

SteveMac32

Programmer
Jan 25, 2002
74
GB
Hi all
I am creating a multitab control dynamically I now need to delete certain tabs an so get rid of all reference to that particular tab and controls held on it.

I cant find how anywhere???? Very frustrating can you help?
 
On the property page you can change the Tab Property to = the number of tabs you want displayed; you cannot delete an individual tab so you may have to copy & paste stuff you want to keep.

I have great faith in fools; self-confidence my friends call it.
-Poe
 
You can also set the tabs visible property to false. This will make it look like it has been removed. However this will then require more code to manage the tabs.

zemp
 
When I deal with SSTab, I always place a frame on the Tab and all my controls go on the frame. I have corresponding Frames for eevery Tab: Tab(0) has a Frame(0) on it, Tab(1) has Frame(1) and so on.

There are times I use just one Frame with my SSTab and I deal with Tab controls pretty much like a tab strip - user thinks they use a tab, but this is only the way to present them with the data in the same frame.

This way I can add tabs or delete tabs by just re-creating SSTab control with the number of Tabs I need.

HTH

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top