Most modern languages provide some sort of tab control.
This control is presented as a series of tabs - when one is clicked,
only those controls associated with that page are displayed.
This provides a way to develop large forms (ie, lots of controls)
which do not need to be scrolled.
In general, the tab control is live in both design and run modes.
(Before these controls became available, I designed similar
runtime functionality, but in design mode, it was very difficult
to keep it all straight.)
Some systems allow you to determine where the tabs are located
- Across the top or bottom or Down one of the sides.
Most systems allow more than one row of tabs.
The main tricks are
- To place components on a tab page
- To copy/move components from the form to a tab page
MS Access 97
In order to move a control on the form to a tab page,
you can use cut and paste. However, there is a catch -
if you click where you want the control to go, it probably
won't work. Before you paste, click on the tab's label so that the
tab page's handles are displayed. If you click inside the tab page,
then the page's handles are not shown and you will paste the control
back on the form, not on the page.
- Tabs are across the top only.
- Allows multiple rows.
- Each page has its own Enabled property.
When set to no, the tab label does not change, but
the controls on the tab's page are all disabled.
- In order to completely hide a tab and its page,
use the Visible property.
Basic Tab Control help is all but missing.
- To determine which page (tab) is showing (from the Pages example)
Author: Robert Clemenzi -