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

TCustomForm.Loaded

Performs actions when the component has been loaded using the LCL streaming mechanism.

Declaration

Source position: forms.pp line 657

protected procedure TCustomForm.Loaded; override;

Description

Loaded is an overridden method in TCustomForm.

It disables alignment in the form, and adjusts the PixelsPerInch setting for the Font when it differs from the design-time setting. It is performed when Scaled is enabled for the form and the Application. This action is also performed for any child Controls. Calls the inherited Loaded method, and re-enables alignment for the form instance.

Ensures that the ActiveControl (when assigned) can receive focus. ActiveControl is set to Nil if the control cannot be focused for the form instance. Sets the Visible property to True when FormState contains the value fsVisible.

See also

TScrollingWinControl.Loaded

  

Performs actions when the component has been loaded from the LCL streaming mechanism.

TComponent


Version 3.2 Generated 2024-02-25 Home