Previous Topic: Dialog Properties BoxNext Topic: Check Box Properties


Button Properties

A button defines the dialog that is shown next and lets you assign default parameter settings. For example, to present different types of installation, such as Typical, Minimal, and User-specific, in the installation dialog, you add three buttons to the installation dialog and assign the default parameters for each type of installation.

The following properties can be set:

Ctrl name

Indicates the name of a dialog element. Control names within the dialog editor are predefined by the GUI. There is no need to change these names. However, if for some reason you want to change the name, you can do so for a selected element by changing the value in this field.

Action

Indicates the type of action that is performed when the button is clicked. This property can have one of the following values:

Next dialog

Specifies the name of the dialog that is shown when the button is clicked.

Script (when Dynamic dialog was chosen as action to be performed)

Specifies the name of a script that is executed when the button is clicked. Select a script from the drop-down list or click the browse button (...) to browse for a script. The script file must have been added to the pre-installation component.

Icon file

Specifies the file name of an icon that appears on the button. The icon file must have been added to the pre-installation component.

Parameter list

Specifies a set of value assignments in the following format:

$PARAM1=value_1,$PARAM2=value_2,...,$PARAMn=value_n

When the button is clicked, the values are assigned to the parameters.

Label

Specifies the text that appears on the button. The text must not contain any control character, such as CR (carriage return) or LF (line feed). Within the text, you can use the ampersand (&) character to define a shortcut. The ampersand character precedes that character, which you can use as a shortcut. For example, if you write Ne&xt as the button text, the small letter x is the defined shortcut. By default, the first character of the text string serves as the shortcut.

Font

Defines the font to be used for displaying the text. Clicking the browse icon (...) displays the Font Chooser dialog where you can add or change font specifications.

Enabled

Controls that the element is activated (or deactivated) by default. If you want to disable a specific field that is only activated on a specific event, you can use this property.