Sign in Join
FPDoc Onlineexperiment

TScreen.UpdateMonitors procedure

Member of TScreenpublicIn unit Forms

Rebuilds the list of available monitors.

Declaration

pascal
procedure UpdateMonitors

Description

Calls DestroyMonitors to clear existing TMonitor instances in the Monitors property. Calls EnumDisplayMonitors in the LCL interface to create and store TMonitor instances in the Monitors property.

UpdateMonitors is called when the private UpdatedMonitor function needs to access information for a monitor using its Handle. It is also called when the value for the Monitor or MonitorCount property is read.

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