Attaching a tab control to another tab control

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

Guest

I have a large tab control and I added a smaller one to it. I only want the
smaller tab control to be displayed when I am on the first tab of the larger
one. How do I attach it to the larger tab control's first tab?
Thanks
 
twen said:
I have a large tab control and I added a smaller one to it. I only want the
smaller tab control to be displayed when I am on the first tab of the larger
one. How do I attach it to the larger tab control's first tab?


A tab control can not contain another tab control. You
could try placing a subform with a tab control in the main
tab control though.

Another idea is to place both tab controls on the form and
use the main tab control's Change event to make the second
tab control visible/invisible.
 
Back
Top