By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,264 Members | 1,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,264 IT Pros & Developers. It's quick & easy.

Multiple tabcontrols

P: n/a
This is an extension of a previous post which has been answered for me,
thanks to those who replied. But this is another request from my users.Is it
possible to have a subform that has a tabcontrol and then have another
tabcontrol on the first tab of the tab control? I've tried putting two tab
controls on a sub form this way but the second control will only attach it
self to the subform not the first tab of the tabcontrol.
TIA
Tony Williams
Nov 13 '05 #1
Share this Question
Share on Google+
10 Replies


P: n/a
Tony Williams wrote:
This is an extension of a previous post which has been answered for me,
thanks to those who replied. But this is another request from my users.Is it
possible to have a subform that has a tabcontrol and then have another
tabcontrol on the first tab of the tab control? I've tried putting two tab
controls on a sub form this way but the second control will only attach it
self to the subform not the first tab of the tabcontrol.


Since when do users know what they want? :-) This is impossible indeed.
What could be the wish behind this form?

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #2

P: n/a
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.
Tony
"Bas Cost Budde" <b.*********@heuvelqop.nl> wrote in message
news:cp**********@news2.solcon.nl...
Tony Williams wrote:
This is an extension of a previous post which has been answered for me,
thanks to those who replied. But this is another request from my users.Is it possible to have a subform that has a tabcontrol and then have another
tabcontrol on the first tab of the tab control? I've tried putting two tab controls on a sub form this way but the second control will only attach it self to the subform not the first tab of the tabcontrol.


Since when do users know what they want? :-) This is impossible indeed.
What could be the wish behind this form?

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea

Nov 13 '05 #3

P: n/a
"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cp**********@titan.btinternet.com...
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.
Tony


You can place a subform on a TabControl and place another TabControl on the
subform. This will give the appearance of a "TabControl within a
TabControl".

You can also place a TabControl "in front of" another TabControl and use
the Change event of the TabControl you want to be the parent to hide the
child TabControl except when a particular page of the parent is selected.

This also gives the appearance of a TabControl within another TabControl,
but can be awkward to work with in design view because in that view the
child TabControl is always visible and obscuring objects on other pages of
the parent control. If you don't mind moving it out of the way while you
work on the form and then putting it back into position when finished it's
not too bad.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #4

P: n/a
Tony Williams wrote:
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.


Gee.

I think that would hide too much navigation. Maybe that is good, with
respect to progressive disclosure, but hierarchical tabs... dunno.

You can think of a Tree-like control to the left, instead of the list.
You can also try naming the "tabs" so that the combining element becomes
visible. Sometimes that is possible.
--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #5

P: n/a
Thanks Rick!
Tony
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:32*************@individual.net...
"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cp**********@titan.btinternet.com...
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.
Tony
You can place a subform on a TabControl and place another TabControl on

the subform. This will give the appearance of a "TabControl within a
TabControl".

You can also place a TabControl "in front of" another TabControl and use
the Change event of the TabControl you want to be the parent to hide the
child TabControl except when a particular page of the parent is selected.

This also gives the appearance of a TabControl within another TabControl,
but can be awkward to work with in design view because in that view the
child TabControl is always visible and obscuring objects on other pages of
the parent control. If you don't mind moving it out of the way while you
work on the form and then putting it back into position when finished it's
not too bad.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com

Nov 13 '05 #6

P: n/a
Thanks Bas I knew they wanted the earth!!!!!!!
Tony
"Bas Cost Budde" <b.*********@heuvelqop.nl> wrote in message
news:cp**********@news2.solcon.nl...
Tony Williams wrote:
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.


Gee.

I think that would hide too much navigation. Maybe that is good, with
respect to progressive disclosure, but hierarchical tabs... dunno.

You can think of a Tree-like control to the left, instead of the list.
You can also try naming the "tabs" so that the combining element becomes
visible. Sometimes that is possible.
--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea

Nov 13 '05 #7

P: n/a
Rick this is what I've done-
I have a main form based on table1, it has a tabcontrol with two pages. On
the first page is a subform based on table2 with a tab control with 3 pages.
On the second page is a subform based on table3 with a tabcontrol of 3
pages.

Viewing the records is fine but if I want to enter a new record the first
page is fine, but the second page doesn't show my subform.

The main form has a control txtmonthlabela and both subforms have controls
txmonthlabel on each of them that link them to the main form.
Any ideas?
Thanks
Tony
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:32*************@individual.net...
"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cp**********@titan.btinternet.com...
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.
Tony
You can place a subform on a TabControl and place another TabControl on

the subform. This will give the appearance of a "TabControl within a
TabControl".

You can also place a TabControl "in front of" another TabControl and use
the Change event of the TabControl you want to be the parent to hide the
child TabControl except when a particular page of the parent is selected.

This also gives the appearance of a TabControl within another TabControl,
but can be awkward to work with in design view because in that view the
child TabControl is always visible and obscuring objects on other pages of
the parent control. If you don't mind moving it out of the way while you
work on the form and then putting it back into position when finished it's
not too bad.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com

Nov 13 '05 #8

P: n/a
"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cp**********@titan.btinternet.com...
Rick this is what I've done-
I have a main form based on table1, it has a tabcontrol with two pages. On the first page is a subform based on table2 with a tab control with 3 pages. On the second page is a subform based on table3 with a tabcontrol of 3
pages.

Viewing the records is fine but if I want to enter a new record the first
page is fine, but the second page doesn't show my subform.

The main form has a control txtmonthlabela and both subforms have controls txmonthlabel on each of them that link them to the main form.
Any ideas?


The use of TabControls is probably not a factor here. If you throw a copy
of the second subform directly onto the main form my guess is the same
behavior would be displayed. If you go to an existing record where the
second subform DOES display can you add a new sub? It is normal for a form
with no records and no ability to add new ones to completely vanish.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #9

P: n/a
Rick Brandt wrote:
"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cp**********@titan.btinternet.com...
There are about 12 tab controls so the idea was to build a sort of
hierarchal structure with say 3 tabcontrols which then each have 4 tab
controls on them.
Tony

You can place a subform on a TabControl and place another TabControl on the
subform. This will give the appearance of a "TabControl within a
TabControl".


Clever!

Will put a penalty on execution speed, I think.

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #10

P: n/a
No Rick I think I'm going to have to take a step back and rethink this!
Thanks
Tony
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:32*************@individual.net...
"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cp**********@titan.btinternet.com...
Rick this is what I've done-
I have a main form based on table1, it has a tabcontrol with two pages. On
the first page is a subform based on table2 with a tab control with 3

pages.
On the second page is a subform based on table3 with a tabcontrol of 3
pages.

Viewing the records is fine but if I want to enter a new record the first page is fine, but the second page doesn't show my subform.

The main form has a control txtmonthlabela and both subforms have

controls
txmonthlabel on each of them that link them to the main form.
Any ideas?


The use of TabControls is probably not a factor here. If you throw a copy
of the second subform directly onto the main form my guess is the same
behavior would be displayed. If you go to an existing record where the
second subform DOES display can you add a new sub? It is normal for a

form with no records and no ability to add new ones to completely vanish.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com

Nov 13 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.