Results 1 to 2 of 2

Thread: VB Tabstrip question...

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Lawrencetown, NS, Canada
    Posts
    1

    Post

    I'm using a two tab Tab Strip in an Options form. I need to access the form through two menu items in my main form. Each menu item should bring its own tab to the front when the Options form is loaded. How can I do this?

    I'm going nuts trying to figure this out...

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,176

    Post

    Use the Selected Property of the Tabs Collection, ie.

    TabStrip1.Tabs(iTabNumber).Selected = True

    Where iTabNumber is the Tab Index you want to bring to the Front.

    ------------------
    Aaron Young
    Analyst Programmer
    aarony@redwingsoftware.com
    ajyoung@pressenter.com


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