ISEdit.AutoSize_

Description

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.

Syntax

object.AutoSize_

Part Attribute Type Description
object Required
The object always implements the ISEdit interface

Return Value

bool

Example

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)  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0