ProgressBar Control attributes

A ProgressBar control displays the installation progress as a bar that fills up in proportion to the amount of work done.

To activate a ProgressBar control, it must be linked to a symbolic variable that represents the progress as a value from 0 to 1000. Typically, this is the TsuProgress variable, but it can be any variable that contains a numerical value in that range. When the ProgressBar is first displayed, and any time the variable changes, the progress bar is set to display the variable's value divided by 10 (i.e., a percentage).

Attributes

This pane contains the following attributes and options.

Attribute Description
Control ID

Select a control ID from the drop-down list or type a numerical ID to use for this control. All controls within a dialog must have different control IDs. For most controls, you should select Automatic; for PushButton controls, one of the standard IDxxx values is generally recommended.

See Dialog Control IDs for an explanation of the available control IDs and their usage.

Name Enter the internal name for the control. This name is for use in InstallMate only; it is not used in the installer. All control names must be unique within their parent dialog box.
Symbol name

Enter the name of the symbolic variable to which the control must be linked, or click ... (browse) to open the Select Symbolic Variable dialog box that allows you to select a variable from the project. Typically, the control is linked to the TsuProgress variable.

Indirect

Check this box to make the Symbol name link indirect; clear it for a direct link. If the link is indirect, the variable specified in the Symbol name field is used to obtain the name of a second variable, and it is this second variable whose value is monitored by the control. With a direct link, the variable specified by the Symbol name attribute itself is monitored.

Condition

Enter the display condition for the control or leave empty to display the control unconditionally. See Dialog Control Conditions for more information.

Visible
Enabled
Tab stop
Group
Border
Sunken
Client edge
Transparent
Don't mirror

These are all standard control styles; see Dialog Control Styles for a description.

Related topics

Installer Dialogs, Working with attribute pane