Description

The AGroupBox Control provides a graphical or functional grouping of controls. To group controls, first draw the frame and then draw the controls inside the frame. This enables you to move the frame and controls together.

Properties

 

Alignment

Font

Image

Top

Appearance

Font3D

Left

Visible

BackColor

ForeColor

Name

WhatsThisHelpID

Caption

Height

Object

WhatsThisHelpText

Description

HelpContextID

Tag

Width

Enabled

hWnd

ToolTipText

 

Methods

 

Move

ShowHelpContext

ZOrder

Refresh

ShowWhatsThis

 

Events

 

OnClick

OnMouseDown

OnWhatThisHelp

OnDblClick

OnMouseMove

 

OnHelpContext

OnMouseUp

 

Constants

enumAGroupBoxAlignment

Comments

The AGroupBox provides an identifiable grouping for controls. You can also use an AGroupBox to subdivide a form functionally—for example, to separate groups of RadioButton controls.

To group controls, first draw the AGroupBox, and then draw the controls inside the AGroupBox. This enables you to move the AGroupBox and the controls it contains together. If you draw a control outside the AGroupBox and then try to move it inside, the control will be on top of the AGroupBox and you'll have to move the AGroupBox and controls separately.

See Also

AComboBox, AListBox, ATextBox