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

TDefaultMonitor

The preferred monitor for showing a form.

Declaration

Source position: forms.pp line 466

type TDefaultMonitor = (

  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.

);

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

Version 3.2 Generated 2024-02-25 Home