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.
- 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.
The following attributes and options are available.
|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.|
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.
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.
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.|
These are all standard control styles; see Dialog control styles for a description.
Note: This has no effect on Frame controls.