This property is True if the height of the specified edit control is enabled to dynamically change depending on the currently selected font. It is not accessible in the Object Inspector.
object.AutoSize
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISEdit interface |
bool
Display AutoSize for the specified edit control.
Dim aEdit
Dim aEditInfo
Set aEdit = Form.Controls_("edtInform")
aEditInfo =_
"ShortName: " & aEdit.ShortName & vbNewLine &_
"TypeName: " & aEdit.TypeName & vbNewLine &_
"Width: " & aEdit.Width & vbNewLine &_
"Height: " & aEdit.Height & vbNewLine &_
"Left: " & aEdit.Left & vbNewLine &_
"Top: " & aEdit.Top & vbNewLine &_
"Auto Size: " & aEdit.AutoSize
Profile.MsgBox(aEditInfo)