다음을 통해 공유


OptionButton.LabelAlign Property (Access)

The property specifies the text alignment within attached labels on new controls. Read/write Byte.

Syntax

expression .LabelAlign

expression A variable that represents an OptionButton object.

Remarks

The LabelAlign property uses the following settings.

Setting

Description

0

(Default) The label text aligns to the left.

1

The label text aligns to the left.

2

The label text is centered.

3

The label text aligns to the right.

4

The label text is evenly distributed.

You can set the LabelAlign property by using a control's default control style or the DefaultControl property in Visual Basic.

When created, controls have an attached label (as long as their AutoLabel property is set to Yes). Changes to the LabelAlign default control style setting affect only controls created on the current form or report.

See Also

Concepts

OptionButton Object Members

OptionButton Object