Navigation:  Program Reference > Dialogs > Dialog Editor > Dialog Controls >

List Box

Previous pageReturn to chapter overviewNext page

This is a regular list box that enables the user to make a single selection from a list of predetermined values. You can associate a string or integer variable by entering the variable's name in the Variable property. The following properties are available for List Box controls:

 

Appearance

 

Default Font

Defines if a control uses the default font.

Font

The font used to paint the control, if the Default Font property is False.

List

Defines the items of current list control.

Visible

The visibility of the control.

 

Design

 

Name

Identifies the control.

System

Defines if current control is used as a system control. The available List Box system controls are:

 

Value

Meaning

Components' List

This list box displays the available Setup Components and allows the end-user select the components that will be installed.

Directories' List

This list box edits the contents of a directory's variable. It shows all the available directories where the application can be installed.

Files in Use List

This list box displays the processes currently running files that must be overwritten or deleted by the installation.

Program Groups' List

This list box edits the contents of a program group's variable (shortcut's folder). It shows all available program groups where the application's shortcuts can be created.

Volume Costs' List

This list box presents information about the cost associated with the selection on the different volumes. It shows all the volumes involved in the current installation plus all volumes that are of the types specified in the attribute bits.

 

Layout

 

Height

The height of the control in pixels.

Left

The left position of the control.

Top

The top position of the control.

Width

The width of the control in pixels.

 

Options

 

Enabled

Defines if a control is enabled.

Left Scroll

Defines if a scroll bar is located on the left side of the control.

Multi-Select

Defines if the control allows the user to select multiple items.

Right Aligned

Defines if a control is aligned on the right.

RTLRO

Defines if the text in the control is displayed in a Right-To-Left-Reading-Order.

Sorted

Makes the items of current list sorted.

Sunken

Defines if a control is displayed with a sunken.

 

Variable

 

Indirect

Determines if the variable associated with this control is referenced indirectly.

Value

Current value of the variable related to this control.

Variable

The name of the variable associated with this control. First you must to define the variable you want to associate with the control in the Global Variables' Declaration editor, for further information read Global Variables Declaration topic.