GroupBox

Syntax

GroupBox HorizPos, VertPos, Width, Height, Label$ [, .Identifier]

Remarks

Creates a box in a custom dialog box that you can use to enclose a group of related option buttons or check boxes.

Argument

Explanation

HorizPos, VertPos

The horizontal and vertical distance from the upper-left corner of the group box to the upper-left corner of the dialog box, in increments of 1/8 and 1/12 of the System font (Windows) or the dialog font (Macintosh).

Width, Height

The width and height of the group box, in increments of 1/8 and 1/12 of the System font (Windows) or the dialog font (Macintosh).

Label$

The label displayed in the upper-left corner of the group box. An ampersand (&) precedes the character in Label$ that is the access key for moving to the group box.

.Identifier

An optional identifier used by statements in a dialog function that act on the group box. For example, you can use this identifier with DlgText to change Label$ while the dialog box is displayed.


For an example, see OptionGroup.

See Also

Begin Dialog¼End Dialog, DlgText, OptionGroup