This property determines how the text is aligned within the label control.
object.Alignment
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLabel interface |
Display some information about the specified label control, including the alignment of the text within the label control.
Dim aLabel
Dim aLabelInfo
Set aLabel = Form.Controls_("Label1")
aLabelInfo =_
"ShortName: " & aLabel.ShortName & vbNewLine &_
"TypeName: " & aLabel.TypeName & vbNewLine &_
"Align: " & aLabel.Align & vbNewLine &_
"Alignment: " & aLabel.Alignment
Profile.MsgBox(aLabelInfo)
In Profile Client v8 on User Interface Alignment can be found in
.