Results 1 to 6 of 6

Thread: [RESOLVED] Accessing Tabs Within A Form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Posts
    136

    Resolved [RESOLVED] Accessing Tabs Within A Form

    I have two tabs on a form, and I would like to know how can I display the second one when a button is clicked? The name of my tab control is tabSurvey.

  2. #2
    Lively Member
    Join Date
    Jan 2009
    Posts
    77

    Re: Accessing Tabs Within A Form

    Simple...

    vb.net Code:
    1. TabControlName.SelectedTab = Tabnamehere
    Need any VB help/

    Just PM me!

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Posts
    136

    Re: Accessing Tabs Within A Form

    That works great! How can I rename my tabs?

  4. #4
    Lively Member
    Join Date
    Jan 2009
    Posts
    77

    Re: Accessing Tabs Within A Form

    Click the tab inside the tab control, look at the property window and find where it says Name, and just rename it like that.

    And no problem
    Need any VB help/

    Just PM me!

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Mar 2010
    Posts
    136

    Re: Accessing Tabs Within A Form

    Thanks. I couldn't figure it out because I was actually clicking on the tabs instead of the part of the page within the tabs, so i kept only seeing the name of the tab control! LOL Thank you so much!!!

  6. #6
    Lively Member
    Join Date
    Jan 2009
    Posts
    77

    Re: [RESOLVED] Accessing Tabs Within A Form

    Im glad to help, if you need help with anything else just ask
    Need any VB help/

    Just PM me!

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