Tab Control

S

Steven W

I'd be grateful for some basic advice on setting-up a tab
control box on a form. I wish to include two subforms on
pages 2 and 3 linked to the main form on page 1, for
adding new project details. I have used the MS Help but
still having problems. ie. my subform just sits there and
does not disapper when another tab is clicked? Am I able
to create a subform on a tab control based on an existing
form?
thanks for any advice
 
J

Joe Fallon

Yes.
The real trick is to cut and paste the subform onto the Tab page.
You can't just drag it over there!
 
P

PC Datasheet

The Real-Real trick is to set the backstyle of the tab control to normal and
then create your controls on the tab control pages. If the backstyle is set to
transparent, all your controls will end up on the main form rather than the tab
control pages.
 
V

Van T. Dinh

That is the behaviour you normally see if the Subform is actually on the
Form itself rather than on the Page of the TabControl. To put any thing on
the Page of the TabControl, you need to select the Page of the Tab Control
first.

To put your existing Subform on the TabControl, cut the existing Subform,
*select the Page of the TabControl* and then paste.
 
R

Rick Brandt

PC Datasheet said:
The Real-Real trick is to set the backstyle of the tab control to normal and
then create your controls on the tab control pages. If the backstyle is set to
transparent, all your controls will end up on the main form rather than the tab
control pages.

Have you tried this? It is incorrect.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top