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

TScreen.Create

Constructor for the class instance.

Declaration

Source position: forms.pp line 1217

public constructor TScreen.Create(

  AOwner: TComponent

); override;

Arguments

AOwner

  

Owner of the class instance.

Description

Create is the overridden constructor for the class instance, and calls the inherited method on entry.

Create allocates resources needed for properties, including: Fonts, Monitors, CustomForms, CustomFormsZOrdered, MagnetManager, and DataModules. Resources for internal members are also allocated.

Create gets the default value used for the PixelsPerInch property from the ScreenInfo variable in the LCL interface.

Create assigns methods in the class instance as the routines used by the Lazarus IDE to provide support for data modules. Create assigns the routine used to get system fonts for the application.

See also

TScreen.Destroy

  

Destructor for the class instance.


Version 3.2 Generated 2024-02-25 Home