Sign in Join
FPDoc Onlineexperiment

TMonitor.Primary property

Member of TMonitorpublicIn unit Forms

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

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.