Link to home
Start Free TrialLog in
Avatar of rmmarsh
rmmarshFlag for United States of America

asked on

How to select a tab within a tab?

I have a tab control, with several pages which have another tab control (kind of like sub-tabs).  From within my program, I need to send the user to one of those tabs within the main set of tabs.  (see diagram)

Tab1 |  Tab2  |  Tab3  |
             
Tab2 has the following tab control:
Tab2a  |  Tab2b  |  Tab2c

I want to get to Tab2b.  How do I do this?
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rmmarsh

ASKER

Doesn't like the "Tabpage" part starting with "as"
Avatar of rmmarsh

ASKER

I figured it out, with your help... code is below.  "cProgramOptions" is the main tab (index of 8).

                    tabTaskPanel.SelectTab(cProgramOptions);
                    tabPrimary.SelectTab(2);

Open in new window

Avatar of rmmarsh

ASKER

Thank you.