This property defines how the specified control is aligned on the form. It is not accessible in the Object Inspector.
object.Align
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISControl interface |
Display some information about the specified control, including its align.
Dim aControl
Dim aControlInfo
Set aControl = Form.Controls_("chkMV")
aControlInfo =_
"Caption: " & aControl.Caption & vbNewLine &_
"TypeName: " & aControl.TypeName & vbNewLine &_
"Align: " & aControl.Align
Profile.MsgBox(aControlInfo)