[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TWinControl.Loaded

Performs actions when a component has been loaded during LCL streaming.

## Declaration

Source position: controls.pp line 2299

`protected procedure TWinControl.Loaded; override;`

## Description

Loaded is an overridden method in TWinControl used to perform actions needed when a component has been loaded from a resource during LCL streaming. It extends the inherited method to align and resize it child Controls, as well synchronize property values with those in the widgetset class instance when its handle has been allocated.

Loaded calls the inherited method to update the BaseBounds for control, and to apply property values dependent on the Parent control.

Loaded calls FixupTabList to populate an internal list with child Controls ordered by their TabOrder property.

## See also

TWinControl.FixupTabList |  | Assigns sequential TabOrder values to child controls.
TControl.Loaded |  | Performs actions needed when LCL component streaming has been completed.