FMX.Forms.TScreen

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTScreen

Delphi

TScreen = class(TComponent)

C++

class PASCALIMPLEMENTATION TScreen : public System::Classes::TComponent

Properties

Type Visibility Source Unit Parent
class public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms FMX.Forms

Description

TScreen represents the state of the screen in which an application runs.

TScreen introduces properties that specify:

  • What forms and data modules have been instantiated by the application.
  • The active form, and the active control within that form.
  • The number of forms in this application.
  • The list of displays on which the application's forms can appear, including their coordinates and dimensions.

There is a global variable, Screen, of type TScreen, which is instantiated for use by any application with a GUI. Use Screen to obtain information about the current state of the screen in an application.

TScreen effectively handles the layout of the application's user interface on multiple displays. If your application runs on multiple displays, the Displays property maintains a list of displays used to comprise the desktop, coordinates and dimensions of displays. The DisplayCount property returns the number of monitors. See also Multiple Display Support.

See Also