Windows Installer Editor Reference
468
Working With Dialogs
z
To add a new condition, click Add.
z
To edit a selected condition, click Details.
z
To remove a selected condition from this control, click Delete.
When you click Add or Details, the Control Condition Details dialog box appears, where
you set the following options:
z
Action
The action to take when the condition is true.
z
Condition
If you enter a condition for the event, the event occurs only if the condition is true.
If there is no condition, the event always occurs.
See
Conditions
on page 437.
Setting the Graphic for a Control
The Graphic tab, which appears on the Properties dialog box for graphical dialog box
controls, lets you specify a graphic file for the control. It determines the image displayed
in the control. Not all controls can display graphics.
See
Editing Dialog Controls
on page 463.
z
Graphic Name
The drop-down list displays graphics stored in the Binary table. Select a graphic or
click Set to import a new graphic. Graphics must be in .BMP format.
z
Information
Displays information about the graphic, including the number of colors in its palette,
its width and height, and its size.
z
Preview
Displays the image. If necessary, the image is scaled down to fit in the preview
area.
Setting the Items in a Control
The Items tab, which appears on the Properties dialog box for list box controls,
comboboxes, listview controls, and radio button controls, determines the items that are
listed in the control. It also lets you determine the tab order of the items, and set the
vertical position (which determines the order of the items on the dialog box).
See
Editing Dialog Controls
on page 463.
All controls that share the same property name also share the same list of items.
Example: Suppose you make a radio button control, associate the property ITEM_LIST
with it, and add three items to it. Then on another dialog box, you make a listview
control and associate ITEM_LIST with it. If you view the Items tab for the listview
control, it contains the same items as for the radio button.
z
To add a new item, click Add.
z
To edit a selected item, click Details.
z
To remove a selected item from this control, click Delete.
z
To rearrange the order in which the items are displayed, click Move Up or Move
Down. To change the order in which the items appear on the dialog box, double-click
each item and set its Y coordinate.