subforms into a tab control form

N

na

Are there any tutorials or examples of changing a subform to a tab control
form? What I'd like to do is set up a main form with the main form data
displayed on top and a tab control form displayed directly underneath (using
the subforms)
 
R

Rick Brandt

na said:
Are there any tutorials or examples of changing a subform to a tab
control form? What I'd like to do is set up a main form with the
main form data displayed on top and a tab control form displayed
directly underneath (using the subforms)

Not much need for a tutorial. Add a TabControl, cut the subform to the
clipboard, select the desired TabPage and Paste. Do the same for all of the
controls you want on the other TabPages.

Any object that is Cut and Pasted that has code associated with it will lose
the "[Event Procedure]" property setting for that event so you will have to
restore them (the code will still be there).

A TabControl is just a layout tool. Other than the tab-key order it does
not change how your form works.
 
Top