[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TMonitor

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Information about an phyiscal monitor.

Declaration

Source position: forms.pp line 951

type TMonitor = class(TObject) end;

public

  property Handle: HMONITOR; [r]

  

Identifies this monitor to the system.

  property MonitorNum: Integer; [r]

  

Index of the monitor in the TScreen.Monitors list.

  property Left: Integer; [r]

  

The leftmost screen coordinate of the display.

  property Height: Integer; [r]

  

The height of the display.

  property Top: Integer; [r]

  

The topmost screen coordinate of the display.

  property Width: Integer; [r]

  

The width of the display.

  property BoundsRect: TRect; [r]

  

The logical dimensions of the monitor, within the desktop.

  property WorkareaRect: TRect; [r]

  

The usable display area, excluding a taskbar etc.

  property Primary: Boolean; [r]

  

True if this is the primary monitor of the system.

  property PixelsPerInch: Integer; [r]

Inheritance

TMonitor

  

Information about an phyiscal monitor.

|

TObject

Description

All informations are retrieved dynamically from the OS, so that all changes are taken into account.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.