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

# TMonitor.Primary

Contains True if this is the primary monitor for the system.

## Declaration

Source position: forms.pp line 1083

`public property TMonitor.Primary : Boolean read GetPrimary;`

## Description

Primary is a read-only Boolean property which indicates if the monitor is the primary display in a list of monitors. The property value is determined using flag values in the TMonitorInfo retrieved using GetMonitorInfo for the platform or operating system. It is set to True when the monitor information contains MONITORINFOF_PRIMARY in its flags.

Primary is used when the value for the PrimaryMonitor property is retrieved in the TScreen class. It indicates which TMonitor instance is used as the value for the PrimaryMonitor property.

## See also

TScreen.PrimaryMonitor |  | The primary monitor which typically includes the task bar area.
GetMonitorInfo |  | Returns information about an display monitor.
TMonitorInfo |  |