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

TMonitor

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

TMonitor - system monitor

Declaration

Source position: forms.pp line 849

type TMonitor = class(TObject)

public

  property Handle: HMONITOR; [r]

  

Hanlde - system handle of monitor

  property MonitorNum: Integer; [r]

  

MonitorNum - index of the monitor in the screen monitors list

  property Left: Integer; [r]

  

Left - the logical position of the left side of the monitor

  property Height: Integer; [r]

  

Height - the logical height of the monitor

  property Top: Integer; [r]

  

Top - the logical position of the top side of the monitor

  property Width: Integer; [r]

  

Width - the logical width of the monitor

  property BoundsRect: TRect; [r]

  

BoundsRect - the logical dimensions of the monitor

  property WorkareaRect: TRect; [r]

  

WorkareaRect - the logical dimensions of the monitor except the unusable parts (like the taskbar, the dockbar, the global menu)

  property Primary: Boolean; [r]

  

Primary - indicates whether this monitor is primary

end;

Inheritance

TMonitor

  

TMonitor - system monitor

|

TObject

Description

TMonitor contains properties to access visible and work dimensions of the system monitor.

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