|
-
Feb 14th, 2000, 11:45 AM
#1
Thread Starter
New Member
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
-
Feb 14th, 2000, 12:02 PM
#2
Junior Member
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
-
Feb 15th, 2000, 01:03 AM
#3
Thread Starter
New Member
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...
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
|