Vcl.Forms.TMonitorDefaultTo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TMonitorDefaultTo = (mdNearest, mdNull, mdPrimary);

C++

enum DECLSPEC_DENUM TMonitorDefaultTo : unsigned char { mdNearest, mdNull, mdPrimary };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms Vcl.Forms

Description

TMonitorDefaultTo specifies which monitor to select when there is no match to the specified criteria.

TMonitorDefaultTo indicates which monitor should be used when the selection criteria do not match any of the monitors in the system. It can have any of the following values.



Value Meaning

mdNearest

Choose the monitor that comes closest to matching the criteria (the monitor closest to a point, on which most of a rectangle lies etc).

mdNull

Do not select any monitor if the criteria can't be met. Use nil (Delphi) or NULL (C++) to indicate that no monitor could be found.

mdPrimary

Choose the primary monitor if no monitor matches the criteria.