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!

Tab Controls in VB6

Status
Not open for further replies.

JimSchuuz

IS-IT--Management
Jan 24, 2005
45
US
Ok, I'm sure this is a stupid question, but where do I find any tab controls in VB6? I assume they aren't installed by default (since I can't find them) so where do I find them?

Jim Schuuz
{ F1 = my.friend
}
 
Go to project menu and components. Then select Microsoft Windows Common Controls and there is a Tab control in there.

Mark

The key to immortality is to make a big impression in this life!!
 
It's a miracle! Thanks for the help Spellman, I appreciate it.

Jim Schuuz
{ F1 = my.friend
}
 
Ok, new question on the same topic: I just spent the morning adding the controls to the default tab, only to find out they should all have been placed on a Tab Page for the corresponding tabs. I have read through the MSDN and can't seem to find where to add Tab Pages. Is this another control? By the way, I'm using the "TabStrip" control. Should I be using the "SSTab" control instead?

The particular problem is that the subsequent tabs don't display, only the controls on the default tab.

Jim Schuuz
{ F1 = my.friend
}
 
JimSchuuz,

I just put frames on TabStrip. Number of frames = Number of tabs. On each frame put it's own set of controls. Depending on what tab is active I z-order the particular frame.

Private Sub TabStrip1_Click()
fraTabs(TabStrip1.SelectedItem.Index - 1).ZOrder vbBringToFront
end sub

vladk
 
Thank you for your help Vladk, I hadn't thought of that and it works fine.

Jim Schuuz
{ F1 = my.friend
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top