PDA

Click to See Complete Forum and Search --> : VB Tabstrip question...


stongey
Jan 28th, 2000, 08:15 AM
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...

Aaron Young
Jan 28th, 2000, 09:17 AM
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