Nesting Tab Controls on a Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a tab control with four tabs. I would like to put a two-tab control
on the first tab.

Whenever I do that, it appears on all four.

I click on the tab to make sure that's the "active" one. For any other
control type, the background turns dark so I know the control will only
appear on that page. Not the tab control.

Help!

Kitty
 
A tab control can not directly contain another tab control. However, you can
place a subform control on a page of a tab control, and place a tab control
on the subform.
 
Or put the second tab control on the form, and use the Change event of the
first tab control to toggle the visibility of the second tab control so that
it is visible only when the desired page is active. (Sleight of hand!).
 
I used the subform idea and it works. Thanks for confirming I wasn't
imagining what happened.

Kitty

Ken Snell said:
Or put the second tab control on the form, and use the Change event of the
first tab control to toggle the visibility of the second tab control so that
it is visible only when the desired page is active. (Sleight of hand!).
 
Back
Top