Alignment Property

                          

Specifies the position of a control relative to its caption.

Syntax

object.Alignment [= fmAlignment]

The Alignment property syntax has these parts:

Part Description
object Required. A valid object.
fmAlignment Optional. Caption position.

Settings

The settings for fmAlignment are:

Constant Value Description
fmAlignmentLeft 0 Places the caption to the left of the control.
fmAlignmentRight 1 Places the caption to the right of the control (default).

Remarks

The caption text for a control is left-aligned.

Note   Although the Alignment property exists on the ToggleButton, the property is disabled. You cannot set or return a value for this property on the ToggleButton.