This property defines how the specified memo 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
ISMemo interface |
Display some information about the specified memo control, including its align.
Dim aMemo
Dim aMemoInfo
Set aMemo = Form.Controls_("memComment")
aMemoInfo =_
"ShortName: " & aMemo.ShortName & vbNewLine &_
"TypeName: " & aMemo.TypeName & vbNewLine &_
"Align: " & aMemo.Align & vbNewLine &_
"Alignment: " & aMemo.Alignment
Profile.MsgBox(aMemoInfo)