Sign in Join
FPDoc Onlineexperiment

TCustomEdit.AutoSize property

Member of TCustomEditpublicIn unit StdCtrls

Allows automatic adjustment of the size for the control, according to its content.

Declaration

pascal
property AutoSize: default True;

Description

The action performed depends on the control type. For example, a label or button can become bigger or smaller to accommodate a longer or shorter caption. The default value for the property is True in TCustomEdit. and enables auto-sizing the control instance to its content.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.