Tab control on tab control

Tab control on tab control

Post by TWFya » Thu, 12 May 2005 13:39:45


Hello all,

Can I create a tab control with in another tab control page?

The only way I have it to work is "MyTab.visible = True" once you click on
the parent tab, but it would be easier to mantain if I could have a parent
child relationship.

Thanks!
 
 
 

Tab control on tab control

Post by SmFSY » Thu, 12 May 2005 18:07:02

You can nest tabcontrols but yuo will have to maintain the parent/child
relation yourself by using code.
--
- Raoul Jacobs

The nature of developping is sharing knowledge.

 
 
 

Tab control on tab control

Post by Rick Brand » Thu, 12 May 2005 20:44:07


You either have to do what you are doing or place the subordinate TabControl
within a subform.

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

Tab control on tab control

Post by V3VsbGl » Thu, 12 Feb 2009 01:58:01

Hi,

Is there any way to have a tab control on a tab of a tab control?

I have pupil data that I have split between details, attendance and other so
far.

In the attendance tab, I was looking to split this up further into
attendances of year and splitting this up by a tab per year.

Is this possible to do? I tried to cut a tab control and paste onto the
orignal tab, but when pasting onto the tab, it just adds another tab to the
original (if I do it straight onto the form, it puts the new tab onto all
tabs of the main one)

I did look at creating a subform on the tab, entering the tabs on the
subform, then displaying a subform on each of those tabs - which seems very
longwinded to me and also meant that I could not get stuff aligned well
enough (always seemed to centre the inner tab, even after changing auto
resize and auto center to no).

Any advice with this would be greatly appreciated.

Thanks
 
 
 

Tab control on tab control

Post by Damon Hero » Thu, 12 Feb 2009 02:24:20

I'm afraid subform is the way to go. Create the subform separately with a
tab control and set the format properties so you have no border, no nav
buttons, etc. then open your main form in design view and drag the subform
onto the page you want it on. Don't forget to link the child and master
fields.
It is sort of a hassle, but it doesn't take too long to create a nice
looking form.

Damon