Tab control within another tab control

Tab control within another tab control

Post by pmende » Wed, 04 Aug 2004 23:55:16


I am creating a form with a tab control containing 10 tabs. and what I
want to do is on only on of the tabs, I want a sub section of tabs.
So what it ends up being is one main tab control with another tab
control embedded into only one of the tab pages. The problem I am
getting is when I insert the sub section tab control into one of the
tabs from the main tab control, the sub section tab control appears in
every tab in the main tab control. Can anyone help? What do I need
to do so it only appears in one tab, not all.
Thanks
 
 
 

Tab control within another tab control

Post by Allen Brow » Thu, 05 Aug 2004 00:12:36

As you found, you cannot place a tab control on one of the pages of another
tab control.

However, you can place a subform on a tab control page, and the subform can
have its own tab control.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://www.yqcomputer.com/
Reply to group, rather than allenbrowne at mvps dot org.

 
 
 

Tab control within another tab control

Post by PC Datashe » Thu, 05 Aug 2004 01:24:43

Paul,

You can't embed a tab control inside another tab control. Although the
subsection tab control appears to be embedded in all the pages of the primary
tab control, it is not; it is actually installed on your form as a second tab
control.

To get what you want, create a new form and install the subsection tab control
on the new form. Next open your original form in design view, and create a
subform control on the page where you want the subsection tab control. Select
the subform control, open properties to the Data tab and set the Source Object
Property to the name of your new form.
 
 
 

Tab control within another tab control

Post by ducojanse » Thu, 05 Aug 2004 05:18:14

I hope this post is not repeated as the browser timed out when I hit
the "Post message" button.

My suggestion was to make sure the correct tab on the main tab control
was selected before you placed the sub tab control on the main tab
control.

HTH!
 
 
 

Tab control within another tab control

Post by PC Datashe » Thu, 05 Aug 2004 06:35:11

Ed,

You can't place a tab control on another tab control!
 
 
 

Tab control within another tab control

Post by paii, Ro » Thu, 05 Aug 2004 22:53:04

You may want to rethink your interface, Tabs within Tabs are confusing for
the user.

Check out the following site

http://www.yqcomputer.com/

It has some good examples of how to create user interfaces.