Creates a page frame to contain Page objects.
A page frame is a container object that contains pages, which can contain controls.
|For a page frame to be visible, it must be added to a form.|
The page frame defines global characteristics of the page: size and positioning, border style, which page is active, and so on. The page frame determines the location of the pages and how much of each page is visible. Pages are positioned at the top left corner of the page frame. If the page frame is moved, the pages move with the page frame.
A page frame contains individual pages that are named Page1, Page2, Page3, and so on by default.
|Only the active page is refreshed when the FormВ Refresh method occurs for the form on which the page is located.|
The PageFrameВ Themes property provides a gradient effect on Page objects, so a label, option button, or similar control with text does not appear correctly if the BackStyle property of the control is set to Opaque. You can remedy this situation by setting BackStyle to Transparent.
For additional information about creating pages and page frames, see "Adding Page Frames to a Form" in Controls for Extending Forms.