Results 1 to 3 of 3

Thread: VB (VB6)

  1. #1
    2 Star Lounger
    Join Date
    Oct 2001
    Location
    Suffolk, England
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

    VB (VB6)

    How do you make the first tab on an ssTab control the one that is 'on top' whenever the form is opened?
    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: VB (VB6)

    If you set the Tab property to 0 in design mode, the first tab will be the active tab when the form is opened. The equivalent VB instruction is

    SSTab1.Tab = 0

    where SSTab1 is the name of your SSTab control. You can do this in the Form_Load event procedure, or in the Form_Activate event procedure if you want this to happen each time the form is activated.

  3. #3
    2 Star Lounger
    Join Date
    Oct 2001
    Location
    Suffolk, England
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB (VB6)

    Brillant - thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •