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 Apache OpenOffice 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 on which 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 disappear and all controls with a step value of 2 become visible.

The step value 0 has a special role. If a control has 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, regardless of the step value of the individual controls.

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