This property defines how the specified edit 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
ISEdit interface |
Display some information about the specified edit control, including its align.
Dim aEdit
Dim aEditInfo
Set aEdit = Form.Controls_("edtInform")
aEditInfo =_
"Short Name: " & aEdit.ShortName & vbNewLine &_
"TypeName: " & aEdit.TypeName & vbNewLine &_
"Align: " & aEdit.Align
Profile.MsgBox(aEditInfo)