TiEditCustom.AutoSize
TiEditCustom
Determines whether the height of the edit control automatically resizes to
accommodate the text.
property AutoSize : Boolean
Description
Use AutoSize to make the edit control adjust its size automatically so the
client area accommodates the height of the text. When AutoSize is False, the edit
control has a fixed height. When AutoSize is True, the size of the control is
readjusted whenever a change occurs that could affect the height of the control,
such as a change to the font or border style.
Note: AutoSize only adjusts the height of the edit control. Even with AutoSize set
to True, text in the edit control may appear truncated if it extends beyond
the width of the control.
Example
Delphi
iComponent.AutoSize := True;
C++ Builder
iComponent->AutoSize = True;
Contents | Index | Previous | Next