Vcl.Forms.TMonitor

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTMonitor

Delphi

TMonitor = class(TObject)

C++

class PASCALIMPLEMENTATION TMonitor : public System::TObject

Properties

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

Description

TMonitor represents a monitor on which an application runs.

TMonitor represents a monitor that displays the user interface of an application. It introduces properties to describe the dimensions of a single monitor. In addition, the Primary property distinguishes the primary property from other monitors on the system.

When writing multi-monitor applications, use TMonitor to help lay out forms and dialogs so that they are not split over several monitors.

Applications do not create instances of TMonitor. Instead, monitor components for all available monitors are listed by the Monitors property of the global Screen variable. The global Screen variable also provides global information about the monitors on which the application runs, such as screen resolution, available fonts, and so on.

See Also