Share via


PageFrame Control

Creates a page frame to contain Page objects.

A page frame is a container object that contains pages, which can contain controls.

Note

For a page frame to be visible, it must be added to a form.

PageFrame

Remarks

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.

Note

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.

See Also

Reference

PageFrame Control Properties, Methods, and Events

CREATE FORM Command

CREATE CLASS Command

DEFINE CLASS Command

Page Object

Other Resources

Objects, Collections, and Classes