RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScreen.Create Constructor

Creates an instance of TScreen.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TScreen(TComponent * AOwner);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!