RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.SetAutoSize Method

Sets the AutoSize property.

Pascal
procedure SetAutoSize(Value: Boolean); override;
C++
virtual __fastcall SetAutoSize(Boolean Value);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!