Organizing and Aligning Controls on Dialogs
Windows Installer Editor Reference
Tables tab. Then create a new property, and enter the new text style's name,
surrounded by curly brackets, as the property value.
Control Font
You can click Set Font and select a font for the control. The Font Property field, if
set, overrides this field.
X Position, Y Position
The location of the item within the control. The upper-left corner is represented by
X,Y values of 0,0. To rearrange items within the control (example: to reorder the
items for radio buttons), change the Y position.
Width, Height
The size of the control in installation units, which are equal to 1/12 the height of the
system font on the destination computer.
You can align, center, and evenly space controls on installation dialog boxes. You also
can constrain controls so they are the same size and set the tab order. You perform
these functions using commands on the Layout or right-click menu. (In Visual Studio:
use the Format or right-click menu.)
When you perform an operation on multiple controls at once (example: aligning
controls), the last control you select is the master control, which the other selected
controls will conform to. The master control is surrounded with solid handles instead of
hollow handles.
Overlapping graphics and controls
When dialog box controls are layered on top of a graphic or other control, the tab order
determines the layer order. During compile, any item that is not included in the tab
order is layered over items that are included in the tab order, causing certain controls to
be hidden at run time. This layering can change from compile to compile. This is a
Windows Installer limitation.
To prevent unexpected control layering, set the dialog box's tab order to include any
graphic or control that is overlapped by another control. The higher the item is in the tab
order, the closer to the top layer it will be.
See
Setting Dialog Tab Order
Example: On the sample dialog box shown below, the image covers most of the dialog
box, and is overlapped by text and check box controls. Because the graphic and static
text controls are not included in the tab order, they might be layered over the check box
control at run time.
on page 412.
Working With Dialogs
410
Need help?
Do you have a question about the WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION EXPRESS V1.0 and is the answer not in the manual?
Questions and answers