Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.31 KB

Access.OptionButton.LabelAlign.md

File metadata and controls

44 lines (28 loc) · 1.31 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OptionButton.LabelAlign property (Access)
vbaac10.chm10602
vbaac10.chm10602
Access.OptionButton.LabelAlign
3ecb4d1f-7e32-9699-b2c3-6918d7b2eb61
02/22/2019
medium

OptionButton.LabelAlign property (Access)

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 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.

[!includeSupport and feedback]