tabbed control within tab of tabbed control , how ???

tabbed control within tab of tabbed control , how ???

Post by ZGF2aW » Sun, 04 Apr 2004 08:21:04


tabbed control within tab of tabbed control , how ??

and how do I refer to the controls ???
 
 
 

tabbed control within tab of tabbed control , how ???

Post by Van T. Din » Sun, 04 Apr 2004 12:58:46

I don't think you can put a TabControl on a TabPage of a bigger TabControl.

Personally, I don't try to make my Forms this complicated. However, if you
want, you can put a SubformControl in a TabPage and use a Form (with a
smaller TabControl) as the SourceObject of the SubformControl.

Another method is to put the small TabControl directly on the Form just like
the bigger TabControl so that the smaller one looks like it is inside a
TabPage of the bigger one. Forn this method, you need to write VBA code to
make the smaller TabControl visible / invisible depending on which TabPage
of the bigger TabControl is selected.

 
 
 

tabbed control within tab of tabbed control , how ???

Post by Allen Brow » Sun, 04 Apr 2004 17:35:22

You cannot place a tab control on the page of another tab control.

However you can put a subform on the page of a tab control, and the subform
can have its own tab control.

The tab controls are not part of the reference. For example, use:
Forms![MyForm]![MyTextbox]
regardless of whether MyTextbox is on the page of a tab control or not.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://www.yqcomputer.com/
Reply to group, rather than allenbrowne at mvps dot org.