Multiple Tab Controls

RevJeff

Registered User.
Local time
Today, 18:16
Joined
Sep 18, 2002
Messages
129
Hi all...

I am creating a Form with a Tab Control on it. Is it possible to have a second Tab Control on one of the Tabs from the main Tab Control. I put the second one on the Tab I wanted it to be on, but it is still visible no matter what Tab I go to.

Thanks,
Jeff
 
Yes and no! You cannot put a tabbed control directly on a tabbed control. You would have to make a separate form, insert your second tabbed control on it, then use this new form as a sugform on one of your original tabbed pages. This is rather complicated and clunky and cramped. You do know that you can add additional pages to your original tabbed control.don't you? Got to Insert - Tabbed Page and add as many as you need.

Here's a very short tutorial on tabbed pages you might want to read:

First thing to remember is that the Tabbed Pages are all part of a single form; think of it as a really long form turned on its side. Because it is all one form, all referrencing to any contol on it is done in the same manner as if they were all on one single screen. Create a form in Design View. Goto the toolbox and click on the Tabbed Control icon; it actually looks like several manila file folders. Place it on your form and adjust the size to your liking. If you need more than the two tabbed pages it initially gives you, click on the tabbed control to select it. Goto Insert and click on Tabbed Control Page and another tabbed page will be added. Do this as many times as neccessary.

This is the really important part: when you go to add a control to a tabbed page, you must first click to select one of the pages, then add the control. Otherwise, the control will be added to the form itself, and will show thru on all tabbed pages!

Once you have the form's Control Source (your table or a query) set up, you simple add controls as you normally would, heeding the above paragraph.
 
Thanks...

Thanks for the info. I figured I would have to do it that way, but was hoping I could do it a different way. Yes, I know that I can add as many tabs as I need. I was just trying to group certain things together within one tab and save space as well.
 
Just a quick sample to show you that I used the subforms to create tabs 3 levels deep.

HDCC2DE.png
 

Users who are viewing this thread

Back
Top Bottom