Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.29 KB

Access.ComboBox.LabelAlign.md

File metadata and controls

44 lines (28 loc) · 1.29 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ComboBox.LabelAlign property (Access)
vbaac10.chm11432
vbaac10.chm11432
Access.ComboBox.LabelAlign
a64df157-b9d6-a426-169e-a0878598b9d9
02/22/2019
medium

ComboBox.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 a ComboBox 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]