Attaching a tab control to another tab control

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
 
M

Marshall Barton

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top