Multi-Page Dialogs

From Apache OpenOffice Wiki
Jump to: navigation, search



A dialog may have several pages that can be traversed by the user step by step. This feature is used in the OpenOffice.org autopilots. The dialog property Step defines which page of the dialog is active. At runtime the next page of a dialog is displayed by increasing the step value by 1.

The Step property of a control defines the page of the dialog the control is visible. For example, if a control has a step value of 1, it is only visible on page 1 of the dialog. If the step value of the dialog is increased from 1 to 2, then all controls with a step value of 1 are faded out and all controls with a step value of 2 are visible.

A special role has the step value 0. For a control a step value of 0, the control is displayed on all dialog pages. If a dialog has a step value of 0, all controls of the dialog are displayed, independent of the step value of the single controls.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools