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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding tabs to a tab control. 1

Status
Not open for further replies.

rickyoswaldiow

Programmer
Jul 16, 2007
127
GB
Good afternoon everyone. I'm trying to make a tab control with multiple tabs but I can only get as far as adding the tab control in, how do I add the extra tabs?!?
 
If it's the SSTab Control you mean then in the Properties window you will see Tabs 3 and TabsPerRow 3

Just set the number of Tabs you wish to use.

[gray]Experience is something you don't get until just after you need it.[/gray]
 
Aha I see, I had the wrong sort of tab selected (TabStrip). I did a little google on SSTabs and found that, to access it, I needed to include the component Microsoft Tabbed Dialogue Control 6.0 (SP5).
That's:
Project > Components > Microsoft Tabbed Dialogue Control 6.0 (SP5).

Thanks for the info :)
 

Just a word of advise on SSTab:

I always put a frame on the Tab and place my controls on that frame, so the only control on the Tab itself is a frame. If you make a control array out of the frames where index of the frame is corresponding to the Tab on SSTab control, it is easy to deal with the frames.

You ask "why"?

SSTab works this way: it moves all controlls on Tabs (that are not selected) way, way out, like .Left = -74850, and sometimes it does not bring them back to original position. Try to find all of your controls if that happens. If all of them are on one frame, it's easy.


Have fun.

---- Andy
 
Interesting note, luckily my design was already using frames on the tabs!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top