Table of contents
TOC
Collapse the table of content
Expand the table of content

Attachment.LabelAlign Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. LabelAlign

expression A variable that represents an Attachment object.

Remarks

The LabelAlign property uses the following settings.

SettingDescription
0(Default) The label text aligns to the left.
1The label text aligns to the left.
2The label text is centered.
3The label text aligns to the right.
4The 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

Attachment Object

© 2017 Microsoft