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

# TScrollBox.Loaded

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

## Declaration

Source position: forms.pp line 221

`protected procedure TScrollBox.Loaded; override;`

## Description

Loaded is an overridden method in TScrollBox used to perform actions needed when a component has been loaded from a resource during LCL streaming. It calls the inherited method (in TScrollingWinControl) on entry to resize its child Controls and update its scroll bars. It calls the UpdateParentColorChange method to set the opacity for the control based on the values in ParentColor and ParentBackground.

## See also

TScrollBox.ParentBackground |  | Indicates if the control uses the background from its Parent control.
TScrollBox.ParentColor |  | Use the Color from the Parent control, when enabled.
TScrollBox.Color |  | The background color for the control.
TScrollBox.UpdateParentColorChange |  | Updates ControlStyle flags to set the opacity for the control.
TControl.ControlStyle |  | Contains style flags which control the features or behaviors enabled for the control.
TControlStyleType |  | Enumerated type with values for features or behaviors for a control.