Results 1 to 5 of 5

Thread: tabstrip

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    question the first:
    How do I get a label to show up in a tab strip? I've tried to use the 'Bring to Front' option on the popup menu, but it still doesn't show up, I can get other thing to show up that way but not labels. Thoughts??
    #2
    how do you get the controls you see to change when you click on a diffrent tab?

    thanks

  2. #2
    Guest
    Q #1:

    Labels are [Lightweight Controls]*, and therefore cannot be placed on top of a Heavyweight control. You need to hold it inside a frame and then it will go over.

    Q #2:

    Tabstrips are not [Containers]**, which means it could not manage controls and hold them, so...

    Code:
    'You first need 2 Frames and a Tabstrip in their origional names:
    Private Sub TabStrip1_Click()
        If TabStrip1.SelectedItem.Index = 1 Then
            Frame1.Visible = True
            Frame1.Visible = False
        Else
            Frame1.Visible = False
            Frame2.Visible = True
        End If
    End Sub
    You can also use the SSTab control.

    __________________
    Lightweight Controls: Controls that are windowless (without a handle: hWnd). These controls does not have messaging capablities.

    Container: A control that acts as a parent of another control/controls.

  3. #3

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    cool

    where do i find the sstab control?

  4. #4
    Guest
    It should have came with VB6 Lrn, Pro, or Ent. It is under the name "Microsoft Tabbed Dialog Control 6.0". I'm not sure if it's in 5.0, and if not, I will gladly provide you with the control.

  5. #5
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    Yes, the sstab comes with VB5 and later.
    Its a true container and much more useful than the tabstrip.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

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