EasyManua.ls Logo

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 - Adding Push Button Controls

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0
174 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WiseScript Editor Reference 133
Creating Custom Dialog Boxes
Control Name
Enter the name by which you will refer to this control in the dialog box script.
Leave this blank if you will not manipulate this control with a script.
X-Position / Y-Position
Specify the exact location of the control on the dialog box. You can also use the
alignment commands to precisely arrange controls on the dialog box.
See Aligning and Spacing Dialog Box Controls on page 139.
Note
A dialog unit is based on the size of the dialog font, usually 8-point MS Sans
Serif. A horizontal dialog unit is 1/4 the average width of the font and a vertical
dialog unit is 1/8 the average height of the font.
Width / Height
Specify the exact dimensions of the control in dialog units. You can also resize
controls by dragging their handles, though this is not as precise.
Loop Continuously
Mark this to repeatedly start the animation from the beginning.
4. Click OK.
Adding Push Button Controls
Push buttons are simply buttons (example: OK or Cancel). When clicked, they perform
an action, such as saving the dialog box data, closing the dialog box, or advancing to the
next dialog box. Each dialog box must have at least one button that allows the end user
to exit the dialog box.
1. Open the dialog box in the Custom Dialog Editor.
See Editing Dialog Boxes on page 120.
2. Select Add menu > Push Button.
The Push Button Control Settings dialog box appears.
3. Complete the dialog box:
Label
Enter the name of the push button. To create a keyboard shortcut for the
button, enter an ampersand (&) immediately before a letter. For example, “<
&Back” would display the label “< B
ack” and set the keyboard shortcut to
Alt+B.
Variable
Specify the name of the script variable that stores the return value of this dialog
box control.
Value
Enter the value that gets assigned to the variable if this button is clicked. This
can be useful in a script when more than one button can dismiss a dialog box
and you need to know which one the end user clicked.
Control Name
Enter the name by which you will refer to this control in the dialog box script.
Leave this blank if you will not manipulate this control with a script.

Table of Contents

Related product manuals