Tab Control

  • Thread starter Thread starter Steven W
  • Start date Start date
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
 
Yes.
The real trick is to cut and paste the subform onto the Tab page.
You can't just drag it over there!
 
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.
 
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.
 
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.
 
Back
Top