Frame control
A Frame control can display a variety of shapes: filled rectangles, rectangle outlines, and beveled lines or frames. Frame controls are used to add background, separator lines, and other simple visual effects to a dialog.
Tips
- To frame a number of other controls, you can also use a GroupBox control; this adds a caption to the frame. However, it does not support background fills.
- To change the tab and Z-order of a control in a dialog box (i.e., the order in which they are drawn and how they appear "on top" of each other), select the control in the dialog/control tree in the left pane on the Dialogs project page, then use Ctrl+Up and Ctrl+Down to move the control up or down in the order. These keystrokes are shortcuts for the Move Up and Move Down commands on the control's context menu.
Attributes
The following attributes and options are available.
Attribute | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Control 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. | ||||||||||||||||||||||||||
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 Frame controls, you should select Automatic. See Dialog control IDs for an explanation of the available control IDs and their usage. |
||||||||||||||||||||||||||
Frame type | Select the desired Frame display mode from the drop-down list. The following choices are available:
*Gradient fills are only available on Windows 98, Me, 2000, XP, and later. On earlier systems, the frame is filled as per Solid color. Note: The actual display colors depend on the Windows' settings. If the user has selected a different color scheme, then the frame colors will use the appropriate colors from that scheme. |
||||||||||||||||||||||||||
Color | Select the desired background color from the drop-down list. The following choices are available:
Note: The actual display colors depend on the Windows' settings. If the user has selected a different color scheme, then the control will use the appropriate colors from that scheme. |
||||||||||||||||||||||||||
End color | Select the desired end color for frame fills with a color gradient. The choices are the same as for Color. | ||||||||||||||||||||||||||
Enabled Tab stop Group Border Sunken Client edge Visible Transparent Don't mirror |
These are all standard control styles; see Dialog control styles for a description. |
||||||||||||||||||||||||||
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 Frame controls. |