[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The Monitor where the form is shown.
Source position: forms.pp line 723
public property TCustomForm.Monitor : TMonitor |
Monitor is a read-only TMonitor property which contains the monitor where the form was displayed. Monitor defaults to the TMonitor instance for the Parent form when it has been assigned.
When the parent form has not been assigned, and a handle exists for the form instance, the widgetset class is notified of the current coordinates for the form. The MonitorFromWindow method in the Screen singleton is called to locate the window closest to the the form (using its handle).
When neither a parent form nor a window handle are available, the MonitorFromPoint method in the Screen singleton is used to locate the form located at the Top and Left coordinates for the form instance.
|
The TScreen singleton for the application. |
|
|
Provides information about the screen display in an application. |
|
|
Provides information about a physical monitor. |
|
|
Gets the form instance for the specified Control. |