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

TScreen.PrimaryMonitor

The primary monitor which typically includes the task bar area.

Declaration

Source position: forms.pp line 1307

public property TScreen.PrimaryMonitor : TMonitor
  read GetPrimaryMonitor;

Description

PrimaryMonitor is a read-only TMonitor property with the primary monitor for the system. The property value is determined by checking for the TMonitor instance in Monitors with its Primary property set to True. The property value is Nil if a monitor is not found with its Primary property set to True.

The property value is used in the MoveToDefaultPosition method in TCustomForm. It is also used in widgetset classes to select the monitor for a dialog when the main form for an application has not been assigned.

See also

TScreen.Monitors

  

Provides indexed access to the available monitors in the class instance.

TCustomForm.MoveToDefaultPosition

  

Moves the form to the location specified in the Position property.

TMonitor

  

Provides information about a physical monitor.


Version 3.2 Generated 2024-02-25 Home