TMonitor class
Provides information about a physical monitor.
Declaration
TMonitor = class(TObject)Inheritance
- TMonitor
TObject
Description
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.
See also
Properties
Handle | public | Handle which identifies this monitor to the system. |
MonitorNum | public | Index of the monitor in the list. |
Left | public | The left-most screen coordinate for the display. |
Height | public | The height for the display. |
Top | public | The top-most screen coordinate for the display. |
Width | public | The width for the display. |
BoundsRect | public | Rectangle with the dimensions for the monitor. |
WorkareaRect | public | The usable display area on the monitor excluding the system task bar. |
Primary | public | Contains True if this is the primary monitor for the system. |
PixelsPerInch | public | Contains the Pixels Per Inch (or display density) for the monitor. |
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
