The page of the form on which a component appears, or the form’s active page.

Property of

All form objects.

Description

All form objects have a pageno property that can be between 0 and 255. The form’s pageno property indicates the form’s active page, the one it is displaying. All the components in the form that have the same pageno as the form are displayed on that "page"; the rest are hidden. There are no actual pages or page objects to manage.

When a form’s pageno property is zero, all components are displayed. If a component’s pageno property is zero, it appears on all pages. For example, a company logo that appears on every page can be placed on page zero.

The pageno property can be changed at any time. Changing a form’s pageno displays another page of the form. Changing a component’s pageno moves that component to that page.

In addition to the pageno property, you can set a component’s visible property if you want to hide or display it under particular circumstances.