Adding Push Button Controls - Symantec WISESCRIPT EDITOR 7.0 SP2 - FOR NS V1.0 Manual

Hide thumbs Also See for WISESCRIPT EDITOR 7.0 SP2 - FOR NS V1.0:
Table of Contents

Advertisement

WiseScript Editor Reference
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
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.
See also:
About Dialog Box Controls
About Dialog Boxes
on page 92

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
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 "< Back" 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.
on page 94
on page 93.
on page 113.
107

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WISESCRIPT EDITOR 7.0 SP2 - FOR NS V1.0 and is the answer not in the manual?

Table of Contents