FMX.Forms.TScreen.Displays

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Displays[const Index: Integer]: TDisplay read GetDisplay;

C++

__property Fmx::Types::TDisplay Displays[const int Index] = {read=GetDisplay};

Properties

Type Visibility Source Unit Parent
property public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TScreen

Description

The array of displays used to comprise the desktop.

Displays provides access to individual displays used to comprise the desktop on which an application runs.

Your application creates a global Screen variable, of type TScreen, encapsulating the state of the screen on which your application is running. Use the Displays property of Screen to obtain an array of displays used to comprise the desktop. The DisplayCount property of Screen returns the number of displays. The display with its Primary property set to True is the primary display.

Displays gets information from FMX.Platform.IFMXMultiDisplayService.Displays.

See Also