Vcl.Forms.TScreen.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TScreen(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TScreen |
Description
Creates an instance of TScreen.
Do not create separate instances of TScreen. There is a global variable, Screen, of type TScreen, which is already instantiated for use by GUI applications. The properties of Screen are global to the entire application.
AOwner specifies the Owner of the screen, which is responsible for freeing it. For the global TScreen object, this is the application.