Adding List Box Controls - Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

WiseScript Editor Reference

Adding List Box Controls

A list box is a list of values from which the end user can choose. The control can return
either the actual string the end user selected, or its position in the list as a letter. If it
returns letters, it returns A if the first item is selected, B if the second item is selected,
and so on.
1.
Open the dialog box in the Custom Dialog Editor.
See
Editing Dialog Boxes
2.
Select Add menu > List Box.
The List Box Control Settings dialog box appears.
3.
Complete the dialog box:
List Box Text
Each line of this text is displayed as a separate item in the list box. Press Enter
between selections so there is only one item per line.
Variable
Specify the name of the script variable that stores the return value of this dialog
box control.
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.
List Box Type
Select the list box type:
Normal. A simple list.
Program Manager Groups. A list of the items in the Programs group of the
Start menu.
Directory Tree Browse. A directory tree browser including an edit field,
directory tree, and disk drive list.
List Box with Checkboxes. A list containing a check box for each item,
allowing multiple items to be selected simultaneously.
Components
If this list box control is being used to specify the components to be installed,
and if the components have sub-components, enter the names of sub-
component variables separated by commas.
Sort
Mark this to sort the list box items in ascending order.
Vert. Scroll
Mark this to add a vertical scroll bar.
Horiz. Scroll
Mark this to add a horizontal scroll bar.
Disable No Scroll
Mark this to display a vertical scrollbar even if one is not needed.
Multi-Select
Mark this to let the end user select multiple items from the list.
on page 120.
Creating Custom Dialog Boxes
131

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript editor 8.0

Table of Contents