Changing The Default Graphic On Wizard Dialog Boxes; Keeping Disabled Controls From Reactivating - Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

Changing the Default Graphic on Wizard Dialog Boxes

Keeping Disabled Controls From Reactivating

WiseScript Editor Reference
Dialog boxes can exhibit different behaviors based on end user input. See
ScriptHelp.htm in the Samples subdirectory of this product's installation directory.
By default, wizard dialog boxes contain a graphic that is not part of the individual dialog
boxes. It is specified on the Wizard Loop Settings dialog box, where you configure the
Wizard Loop script action. You can change this graphic and turn it off for selected dialog
boxes.
To change the bitmap that applies to all wizard dialog boxes
1.
In Script Editor, double-click the Wizard Loop script line. There are two Wizard Loop
script lines: one for the main installation and one that contains the Finish dialog
box. Change both of these to display the same graphic on all dialog boxes.
The Wizard Loop Settings dialog box appears.
See
Wizard Loop
on page 117.
2.
In the Wizard Bitmap section, in Pathname, specify a path for a new graphic.
This changes the graphic for all dialog boxes in the loop sequence.
3.
Click OK.
To turn off the wizard bitmap on selected wizard dialog boxes
1.
In Script Editor, double-click the Custom Dialog script line for the dialog box.
The Custom Dialog Editor opens.
2.
Select Edit menu > Dialog Box Properties.
The Dialog Box Properties dialog box appears.
See
Setting Dialog Box Properties
3.
Towards the bottom of the dialog box, mark Do not display wizard graphic on
this dialog.
4.
Click OK.
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
Creating Custom Dialog Boxes
on page 120.
141

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript editor 8.0

Table of Contents