Results 1 to 3 of 3

Thread: select tab from code?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Hi,

    Is it possible to select a certain tab on a tabstrip in code?

    For example, I have a form with a tabsrip with 3 tabs. I have a command button that when pressed, will select tab 2.

    Any help and example code would be appreciated..

    DAn

  2. #2
    Addicted Member jeroenh's Avatar
    Join Date
    Aug 2000
    Location
    Rotterdam, Holland
    Posts
    201
    Ofcourse that's possible.

    Code:
    TabStrip1.Tabs(Index of the tab you want).Selected
    This is the way to do it.
    Catch you later,

    Jeroen Hoekemeijer
    Code:
    If 1 = 2 Then MajorError

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Thanks.. By the way.. It's:

    Code:
    TabStrip1.Tabs(Index).Selected = True
    Dan

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