Results 1 to 3 of 3

Thread: [2005] Tab Switching Help

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2006
    Posts
    63

    [2005] Tab Switching Help

    Hey, I have multiple tabs on my form and i was wondering how am i able to active a tab and de-active a tab when a button is pressed? Basically switch between tabs using a button.

    I have tried using:
    Code:
    me.tabpagename.show
    me.tabpagename.bringtofront
    But this hasn't worked so far.

    Thanks.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Tab Switching Help

    You set the SelectedIndex or SelectedTab property of the TabControl.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2006
    Posts
    63

    Re: [2005] Tab Switching Help

    Thanks, worked perfectly.

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