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

TMonitorList.Items

The indexed list of all Monitors.

Declaration

Source position: forms.pp line 1101

public property TMonitorList.Items[AIndex: Integer] : TMonitor
  read GetItem
  write SetItem;
  default;

Description

Items is a TMonitor property which provides indexed access to a monitor in the list by its ordinal position. Items is the default property for the list, and the target for a list enumerator for the class instance.

TMonitor instances in Items are create and added at run-time when the UpdateMonitors method in TScreen is called. This occurs in response to a WM_DISPLAYCHANGE message in the processing loop for an application.

See also

TMonitor

  

Provides information about a physical monitor.

TScreen.UpdateMonitors

  

Rebuilds the list of available monitors.

TApplication.HandleMessage

  

Handles pending messages, and enters the Idle state.


Version 3.2 Generated 2024-02-25 Home