Download WiseScript Editor Reference - SymWISE Support Site Maintenance
Transcript
Creating Custom Dialog Boxes Action Select an action for the control: Return to Previous Dialog Displays the previously-displayed dialog box in the dialog box set. (Exception: The Back buttons on wizard dialog boxes do not use this option. They are controlled by the Wizard Loop script action.) If this is the first dialog box in the set, it returns to the installation script. Return to Script Returns to the installation script, even if this dialog box was called from another dialog box in the dialog box set. Display Dialog Displays the selected dialog box from the current set. Abort Installation The end user is asked to confirm that the installation should be aborted. Display Help Context If the HELPFILE variable points to a valid copy of a Windows help file, the specified numeric help context is displayed. Execute Program Starts another application or links to a Web page. Click Edit to specify and configure the application to be started. See Specifying Execute Program Settings on page 139. Execute Named Event Passes a named event to the dialog box script. The DLG_EVENT_TYPE variable is set to the entered text. See Creating a Custom Dialog Box Script on page 144. 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 140. 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. 4. WiseScript Editor Reference 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. Default Button Mark this to make this the default button, that is, the one that is selected if the end user presses the Enter key. Specify only one default button per dialog box. Do Not Check Fields Mark this to suppress directory confirmation and field validity checking (useful for Browse buttons). Click OK. 135