Connecting Tech Pros Worldwide Help | Site Map

Multiple tabcontrols

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 05:22 AM
Tony Williams
Guest
 
Posts: n/a
Default Multiple tabcontrols

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



  #2  
Old November 13th, 2005, 05:22 AM
Bas Cost Budde
Guest
 
Posts: n/a
Default 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
  #3  
Old November 13th, 2005, 05:22 AM
Tony Williams
Guest
 
Posts: n/a
Default 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]


  #4  
Old November 13th, 2005, 05:22 AM
Rick Brandt
Guest
 
Posts: n/a
Default 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


  #5  
Old November 13th, 2005, 05:22 AM
Bas Cost Budde
Guest
 
Posts: n/a
Default 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
  #6  
Old November 13th, 2005, 05:22 AM
Tony Williams
Guest
 
Posts: n/a
Default 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]


  #7  
Old November 13th, 2005, 05:22 AM
Tony Williams
Guest
 
Posts: n/a
Default 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]


  #8  
Old November 13th, 2005, 05:22 AM
Tony Williams
Guest
 
Posts: n/a
Default 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]


  #9  
Old November 13th, 2005, 05:23 AM
Rick Brandt
Guest
 
Posts: n/a
Default 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


  #10  
Old November 13th, 2005, 05:23 AM
Bas Cost Budde
Guest
 
Posts: n/a
Default 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
  #11  
Old November 13th, 2005, 05:23 AM
Tony Williams
Guest
 
Posts: n/a
Default 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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.