Vcl.StdCtrls.TCustomLabel.Loaded
Delphi
procedure Loaded; override;
C++
virtual void __fastcall Loaded(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomLabel |
Description
Adjusts the size of the label when it is first loaded. .
The protected Loaded method is called immediately after a saved version of the form that contains the label is loaded into memory. TCustomLabel uses this method to adjust the size of the label to the text it contains if the AutoSize property is true.