The <page> class is the base class of gadgets that are used to display a whole page of information within a "parent" element, with the page itself optionally containing other layouts or gadgets. Pages are used in situations where different sets of information (the pages themselves) need to be displayed in a common parent.
The subclasses of <page> are as shown in Table 8.3.
<page> |
|
| <tab-control-page> |
<property-page> | |
<wizard-page> |
The <tab-control-page> class is used to define the elements that are associated with each tab in a tab control.
The <property-page> class performs a similar job for property frames (visually, a property frame looks like a tab control in a dialog box, and is one way of implementing a dialog box that has several pages of information. Property frames are so named because they are often used to display the user-configurable properties of an application.
The <wizard-page> class is used to define the elements in each page of a wizard frame. Wizard frames are another form of multi-page dialog, but consist of several physically distinct windows that are presented to the user in a strict order.