Icon Control attributes
An Icon control displays icon images. The InstallMate dialog editor shows the selected icon image in the control. To display an icon image in an Icon control, you must add the desired icon on the Icons project page, then set the control's Icon name attribute to the name of the desired icon image.
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. |
| Icon name |
Enter the name of the icon image to display in the control, or click ... (browse) to open the Select Icon dialog that allows you to select an icon from the project's icons. Tip: The Icon name attribute is localizable; you can use different images for different languages if you want. |
| Condition |
Enter the display condition for the control or leave empty to display the control unconditionally. See Dialog Control Conditions for more information. Note: This has no effect on Icon controls. |
| 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. |
| Icon size |
Select the desired icon size from the drop-down list. Note: If the selected image size is not present in the icon file, then the system scales one of the other icon images to the desired size. The resulting image may be less than satisfactory; in that case, you should edit the original icon file and add an image of the required size. |
| Stretch icon | Check this box to stretch the icon image to fit the size of the control; this may result in a distorted image. Clear this box to display the icon image at its actual size; this may result in clipping or filling of it borders. |