Alignment Property (ACheckBox)

Returns or sets control over the position of the text next to (left or right) the control at run time.

Syntax

Object.Alignment [ = enAlignment ]

The Alignment property syntax has the following parts:

 

Name

Type

Description

Object

ACheckBox

ACheckBox control

enAlignment

enumACheckBoxAlignment

An integer specifying the type of alignment

Where

enumACheckBoxAlignment can be one of the following:

 

Name

Value

Description

achkLeft

0*

The checkmark is left-aligned; the text is right-aligned.

achkRight

1

The checkmark is right-aligned; the text is left-aligned.

Example

The following statement changes the ACheckBox alignment to the right of the checkmark:

chk1.Alignment=achkRight

Applies to

ACheckBox

See Also

Appearance