Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomFrame.Loaded

Adjust the design-time PPI setting (when needed) when the frame instance has finished loading.

Declaration

Source position: forms.pp line 323

protected procedure TCustomFrame.Loaded; override;

Description

Loaded is an overridden method in TCustomFrame which performs actions when the frame instance has been loaded from the LCL streaming mechanism. It calls the inherited method (in TScrollingWinControl) on entry to update the page, ranges, and visibility for scroll bars used on the frame instance. It also calls the FixFrameFontsPPI method to adjust the design-time pixels-per-inch setting when scaling is enabled for the frame instance and the application.

Version info

Added in LCL version 4.6.

See also

TCustomFrame.FixFrameFontsPPI

  

Adjusts the design-time PPI settings for fonts when scaling is enabled.

TScrollingWinControl.Loaded

  

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

TScrollingWinControl.HorzScrollBar

  

The horizontal scroll bar for the control.

TScrollingWinControl.VertScrollBar

  

The vertical scroll bar for the control.

TApplication.Scaled

  

Indicates if forms and controls in the application can be scaled to different display densities (Pixels per Inch).

TCustomDesignControl.Scaled

  

Indicates if the design surface is scaled to reflect changes in display density (Pixels Per Inch).


Version 4.6 Generated 2026-02-20 Home