469,330 Members | 1,335 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,330 developers. It's quick & easy.

Tab control within another tab control

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
Nov 13 '05 #1
5 26466
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://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Paul Mendez" <pm*****@thelyndco.com> wrote in message
news:99**************************@posting.google.c om...
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

Nov 13 '05 #2
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.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Paul Mendez" <pm*****@thelyndco.com> wrote in message
news:99**************************@posting.google.c om...
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

Nov 13 '05 #3
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!

pm*****@thelyndco.com (Paul Mendez) wrote in message news:<99**************************@posting.google. com>...
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

Nov 13 '05 #4
Ed,

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

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Ed Marzan" <du********@aol.com> wrote in message
news:cc**************************@posting.google.c om...
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!

pm*****@thelyndco.com (Paul Mendez) wrote in message

news:<99**************************@posting.google. com>...
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

Nov 13 '05 #5
You may want to rethink your interface, Tabs within Tabs are confusing for
the user.

Check out the following site

http://digilander.libero.it/chiedilo...tect/shame.htm

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

"Paul Mendez" <pm*****@thelyndco.com> wrote in message
news:99**************************@posting.google.c om...
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

Nov 13 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Craig | last post: by
reply views Thread by Ron Vecchi | last post: by
3 posts views Thread by RichB | last post: by
4 posts views Thread by =?Utf-8?B?UmljaEI=?= | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.