-
After much fumbling and bumbling, I finally figured out how to make TabStrips work in the VB 6.0 environment. You have to pass the Index Property through the TabStrip SelectedItem Method, as in:
Select Case TabStrip1.SelectedItem.Index
So the code would look like:
Private Sub TabStrip1_Click()
Select Case TabStrip1.SelectedItem.Index
Case 1
'Your code here...'
Case 2
'Your code here...'
Case 3
'Your code here...'
AND SO ON...
End Select
End Sub
That's it, enjoy...
MARAT
-
Why don't you just use the "SSTab" Feature?
You can get this by right-clicking on the toolbar, and selecting "Components..."
Then, under the "Controls" tab, check the item labeled "Microsoft Tabbed Dialog Control 6.0" Then click "Ok". It should appear in your toolbar. Whip out the form you want it on, and pop it on there. You can even switch the tabs while in the editing part of VB6, while the program isn't even running!
I'm sorry I made you look stupid man, but you didn't have to go through all that frustration... :)
------------------
Webmaster Czaries
http://www1.50megs.com/css
-
I posted this information in an effort to make the lives of other people easier, not to expound on my own programming prowess, like so many other pompous posters. So, with comments like yours CZARIES, your the only one who looks stupid...