Windows Installer Editor Reference
414
Working With Dialogs
Note
If you encounter error messages or formatting problems when you import the file,
open it in Wordpad, save it as .RTF, and re-import it. Some computers cannot import
files with formats other than .RTF.
z
Max Characters
(This replaces the Control Text field for an edit field control.) Enter the maximum
number of characters the end user can enter.
z
Default
Mark this to activate this control when the user presses Enter while on this dialog
box. Example: If you mark this check box for an OK button on a dialog box, then
when the user presses Enter, the event associated with the OK button is activated.
z
Cancel
Mark this to activate this control when the user presses Esc while on this dialog box.
Example: If you mark this check box for a Cancel button on a dialog box, then when
the user presses Esc, the event associated with the Cancel button is activated.
z
Font Property
(Not available for a scrollable text control.) Select the property that defines a font.
In most cases, select _WiseDialogFontDefault to match the default text of other
text on dialog boxes. To define a new font style, add a new row to the TextStyle
table in Setup Editor > Tables tab. Then create a new property, and enter the new
text style’s name, surrounded by curly brackets, as the property value.
z
Control Font
You can click Set Font and select a font for the control. The Font Property field, if
set, overrides this field.
z
X Position, Y Position
The location of the control within the dialog box. The upper-left corner is
represented by X,Y values of 0,0. You also can drag the control to position it on the
dialog box.
z
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.
General Attributes
z
Visible
Makes the control visible.
z
Sunken
Makes the control beveled to appear pushed into the dialog box.
z
Right Aligned Text
Right-aligns text in the control.
z
Enabled
Enables the control, that is, display it in a state the end user recognizes as clickable.
z
Indirect
If you mark this, the information for the control is not stored directly in the property
for the control. Instead, the value of the control’s property is used as the real
property name to store the information in.
Example: Suppose a dialog box has three radio buttons and a check box. The radio
buttons set the property RADIO to FIRST, SECOND, or THIRD. The check box also