[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Provides information about a physical monitor.
Source position: forms.pp line 1066
type TMonitor = class(TObject) |
||
public |
||
|
Handle which identifies this monitor to the system. |
|
property MonitorNum: Integer; [r] |
|
Index of the monitor in the TScreen.Monitors list. |
|
The left-most screen coordinate for the display. |
|
|
The height for the display. |
|
|
The top-most screen coordinate for the display. |
|
|
The width for the display. |
|
property BoundsRect: TRect; [r] |
|
Rectangle with the dimensions for the monitor. |
property WorkareaRect: TRect; [r] |
|
The usable display area on the monitor excluding the system task bar. |
property Primary: Boolean; [r] |
|
Contains True if this is the primary monitor for the system. |
property PixelsPerInch: Integer; [r] |
|
Contains the Pixels Per Inch (or display density) for the monitor. |
end; |
|
Provides information about a physical monitor. |
|
| | ||
TObject |
Monitor information is retrieved dynamically from the Operating System. This ensures that any changes to the installed hardware devices or their configuration are taken into account. TMonitor has properties that reflect its dimensions, use as the primary monitor, and its display density (or Pixels per Inch).
TMonitor is the type returned when reading the TScreen.Monitors property. TMonitor is the type used to implement the TCustomForm.Monitor property.
|
Contains the Monitor where the form is shown. |
|
|
Provides indexed access to the available monitors in the class instance. |
Version 3.2 | Generated 2024-02-25 | Home |