Results 1 to 3 of 3

Thread: TabStrips, making them WORK!!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    3

    Post

    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




  2. #2
    Junior Member
    Join Date
    Jan 2000
    Posts
    16

    Post

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    3

    Post

    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
  •  



Click Here to Expand Forum to Full Width