The IDLsysMonitorInfo::GetNumberOfMonitors function method retrieves the number of monitors available on the system. The function returns zero if there are no monitors available on the system, or if the DISPLAY_NAME property does not refer to a valid X server connection.

Syntax


Result = Obj->[IDLsysMonitorInfo::]GetNumberOfMonitors()

Return Value


Returns the number of monitors available on the system.

Arguments


None

Keywords


None

Version History


6.3

Introduced