Vcl.StdCtrls.TCustomStaticText.AutoSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSize: Boolean read FAutoSize write SetAutoSize default True;

C++

__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=1};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomStaticText

Description

Determines whether the component is automatically resized to accommodate its text.

If AutoSize is true, the component is automatically resized— at runtime and design time— whenever the font size or Caption text changes.

See Also