TDefaultMonitor enumeration
The preferred monitor for showing a form.
Declaration
TDefaultMonitor = (dmDesktop,dmPrimary,dmMainForm,dmActiveForm)Description
When a form is not assigned to a specific monitor, assume the following display context:
- dmDesktop
- No attempt to choose specific monitor
- dmPrimary
- On the primary monitor
- dmMainForm
- On the same monitor as the main form; if there is no main form then use dmPrimary behavior
- dmActiveForm
- On the same monitor as the currently active form; if there is no active form then use dmMainForm behavior
Values
dmDesktop | Place the form on the full desktop. |
dmPrimary | Place the form on the primary monitor. |
dmMainForm | Place the form on the same monitor as the main form. If there is no such form then use the primary monitor. |
dmActiveForm | Place the form on the same monitor as the currently active form. If there is no such form then use the primary monitor. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
