RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor Class

TMonitor represents a monitor on which an application runs.

Pascal
TMonitor = class(TObject);
C++
class TMonitor : public TObject;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!