Vcl.StdCtrls.TCustomEdit.SetAutoSize
Delphi
procedure SetAutoSize(Value: Boolean); override;
C++
virtual void __fastcall SetAutoSize(bool Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomEdit |
Description
Sets the AutoSize property.
SetAutoSize is the protected write implementation of the AutoSize property.
TCustomEdit overrides the inherited method to update the height of the edit control to reflect the current font when the value of AutoSize changes to true.