Alignment Property

         Example         Applies To        

Specifies the position of a control relative to its caption.

Syntax

object.Alignment [= 0,1]

The Alignment property syntax has these parts:

Part Description
object Required. A valid object.

Settings

The Settings for Alignment are:

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

Remarks

The caption text for a control is left-aligned.