WiseScript Editor Reference
116
See also:
Solutions for Dialog Box Problems
on page 115
Keeping Disabled Controls From Reactivating
This problem affects radio buttons and check boxes.
Example:
A dialog box in a wizard loop has a radio button with four options. You disable several
options by setting the variable associated with the radio button to “ABcd.” The lowercase
“c” and “d” disable the third and fourth options. If the end user selects an option and
continues through the wizard dialog boxes, the dialog box works as designed. However,
if the end user clicks the Back button to return to the dialog box that contains the radio
button, then all four of the button’s options are enabled.
To correct this problem, mark the Retain Disabled check box on the settings dialog box
for radio buttons and check boxes. This causes any lowercase letters in the variable to
stay in the variable, even when the end user navigates between dialog boxes.
In the example above, if Retain Disabled is marked and an end user selects the first
radio button option, the value of the variable is set to “cdA” (uppercase “A” because the
user selected the first option.) If Retain Disabled is not marked, the radio button's
variable is set to “A.” That is why all four radio buttons are enabled when the end user
backs up, because the variable does not contain “a,” “b,” “c,” or “d.”
See also:
Solutions for Dialog Box Problems
on page 115
About Custom Dialog Box Sets
A single Custom Dialog script action can display a set of related dialog boxes. You do this
by using a button on one dialog box as a gateway to another dialog box. This secondary
dialog box can link to another dialog box, link back to the master dialog box, or return to
the installation script. A single dialog box set can contain up to 256 separate dialog
boxes.
Generally, dialog box sets consist of one dialog box and the other dialog boxes that it
calls. (Example: A dialog box might have an Options and Browse buttons, each of which
opens a dialog box. The three dialog boxes together comprise a dialog box set.) The
main dialog boxes that appear during installation are not a dialog box set, but are
controlled by a Wizard Loop action in the script.
See:
Creating a Dialog Box Set
on page 116
Configuring Dialog Box Set Properties
on page 117
About Dialog Boxes
on page 92
Creating a Dialog Box Set
1. Create the master dialog box.
See
Adding a Dialog Box to the Installation
on page 93.
Содержание ALTIRIS INVENTORY 7.0 SP2 - FOR NETWORK DEVICES V1.0
Страница 1: ...WiseScript Editor Reference ...
Страница 31: ...WiseScript Editor Reference 31 ...
Страница 91: ...WiseScript Editor Reference 91 ...
Страница 148: ...WiseScript Editor Reference 148 ...