When the property is True, the height of the specified memo control is reduced to the height of the single line. It is not accessible in the Object Inspector.
object.AutoSize
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISMemo interface |
bool
Display AutoSize for the specified memo control.
Dim aMemo
Dim aMemoInfo
Set aMemo = Form.Controls_("memComment")
aMemoInfo =_
"ShortName: " & aMemo.ShortName & vbNewLine &_
"Type Name " & aMemo.TypeName & vbNewLine &_
"Auto Size: " & aMemo.AutoSize
Profile.MsgBox(aMemoInfo)