Connecting Tech Pros Worldwide Forums | Help | Site Map

Multiple tabcontrols

Tony Williams
Guest
 
Posts: n/a
#1: Nov 13 '05
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



Bas Cost Budde
Guest
 
Posts: n/a
#2: Nov 13 '05

re: Multiple tabcontrols


Tony Williams wrote:[color=blue]
> 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.[/color]

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
Tony Williams
Guest
 
Posts: n/a
#3: Nov 13 '05

re: Multiple tabcontrols


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.costbudde@heuvelqop.nl> wrote in message
news:cppah4$el7$1@news2.solcon.nl...[color=blue]
> Tony Williams wrote:[color=green]
> > 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[/color][/color]
users.Is it[color=blue][color=green]
> > 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[/color][/color]
tab[color=blue][color=green]
> > controls on a sub form this way but the second control will only attach[/color][/color]
it[color=blue][color=green]
> > self to the subform not the first tab of the tabcontrol.[/color]
>
> 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[/color]


Rick Brandt
Guest
 
Posts: n/a
#4: Nov 13 '05

re: Multiple tabcontrols


"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cpphic$fh3$1@titan.btinternet.com...[color=blue]
> 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[/color]

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


Bas Cost Budde
Guest
 
Posts: n/a
#5: Nov 13 '05

re: Multiple tabcontrols


Tony Williams wrote:[color=blue]
> 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.[/color]

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
Tony Williams
Guest
 
Posts: n/a
#6: Nov 13 '05

re: Multiple tabcontrols


Thanks Rick!
Tony
"Rick Brandt" <rickbrandt2@hotmail.com> wrote in message
news:32b19dF3kkp2hU1@individual.net...[color=blue]
> "Tony Williams" <tw@tcpinvalid.com> wrote in message
> news:cpphic$fh3$1@titan.btinternet.com...[color=green]
> > 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[/color]
>
> You can place a subform on a TabControl and place another TabControl on[/color]
the[color=blue]
> 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
>
>[/color]


Tony Williams
Guest
 
Posts: n/a
#7: Nov 13 '05

re: Multiple tabcontrols


Thanks Bas I knew they wanted the earth!!!!!!!
Tony
"Bas Cost Budde" <b.costbudde@heuvelqop.nl> wrote in message
news:cppiak$fa3$1@news2.solcon.nl...[color=blue]
> Tony Williams wrote:[color=green]
> > 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.[/color]
>
> 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[/color]


Tony Williams
Guest
 
Posts: n/a
#8: Nov 13 '05

re: Multiple tabcontrols


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" <rickbrandt2@hotmail.com> wrote in message
news:32b19dF3kkp2hU1@individual.net...[color=blue]
> "Tony Williams" <tw@tcpinvalid.com> wrote in message
> news:cpphic$fh3$1@titan.btinternet.com...[color=green]
> > 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[/color]
>
> You can place a subform on a TabControl and place another TabControl on[/color]
the[color=blue]
> 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
>
>[/color]


Rick Brandt
Guest
 
Posts: n/a
#9: Nov 13 '05

re: Multiple tabcontrols


"Tony Williams" <tw@tcpinvalid.com> wrote in message
news:cppo3m$o11$1@titan.btinternet.com...[color=blue]
> Rick this is what I've done-
> I have a main form based on table1, it has a tabcontrol with two pages.[/color]
On[color=blue]
> the first page is a subform based on table2 with a tab control with 3[/color]
pages.[color=blue]
> 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[/color]
controls[color=blue]
> txmonthlabel on each of them that link them to the main form.
> Any ideas?[/color]

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


Bas Cost Budde
Guest
 
Posts: n/a
#10: Nov 13 '05

re: Multiple tabcontrols


Rick Brandt wrote:[color=blue]
> "Tony Williams" <tw@tcpinvalid.com> wrote in message
> news:cpphic$fh3$1@titan.btinternet.com...
>[color=green]
>>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[/color]
>
>
> 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".[/color]

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
Tony Williams
Guest
 
Posts: n/a
#11: Nov 13 '05

re: Multiple tabcontrols


No Rick I think I'm going to have to take a step back and rethink this!
Thanks
Tony
"Rick Brandt" <rickbrandt2@hotmail.com> wrote in message
news:32b8icF3jil92U1@individual.net...[color=blue]
> "Tony Williams" <tw@tcpinvalid.com> wrote in message
> news:cppo3m$o11$1@titan.btinternet.com...[color=green]
> > Rick this is what I've done-
> > I have a main form based on table1, it has a tabcontrol with two pages.[/color]
> On[color=green]
> > the first page is a subform based on table2 with a tab control with 3[/color]
> pages.[color=green]
> > 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[/color][/color]
first[color=blue][color=green]
> > page is fine, but the second page doesn't show my subform.
> >
> > The main form has a control txtmonthlabela and both subforms have[/color]
> controls[color=green]
> > txmonthlabel on each of them that link them to the main form.
> > Any ideas?[/color]
>
> 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[/color]
form[color=blue]
> 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
>
>[/color]


Closed Thread