OptionTree Control attributes

An OptionTree control is a tree control that displays the product features defined on the Product Options project page. Depending on the features' attributes, the OptionTree control allows the user to select or remove features for installation.

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.
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.

Has buttons Check this box to display +/- buttons in the tree control for branches that can be expanded/collapsed; clear it to omit them. In the latter case, tree branches can still be expanded or collapsed by double-clicking on them.
Has lines Check this box to display connecting lines between tree branches; clear it to omit them.
Lines at root

Check this box to display buttons or lines at the left-most (root) level; clear it to omit them. This option only has effect if Has buttons or Has lines are also checked.

Related topics

Product Options, Installer Dialogs, Working with attribute panes