- dmDesktop - on the full desktop
+ dmDesktop - no attempt to choose specific monitor.
- dmPrimary - on the primary 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.
@@ -1510,13 +1510,13 @@
- caNone: do nothing (don't close)
+ caNone: do nothing (don't close).
- caHide: hide the form (default for modal forms)
+ caHide: hide the form (default for modal forms).
- caFree: destroy the form
+ caFree: destroy the form.
- caMinimize: minimize the form (MDI child default)
+ caMinimize: minimize the form (MDI child default).
@@ -3315,8 +3315,7 @@ ShowModal creates its own event loop calling ProcessMessages.
The control associated with the default action for this form.
-
- This is typically a button such as 'Accept'
+ This is typically a button such as 'Accept'
which is highlighted in some way on-screen to indicate
that this is the default action,
and is selected either by hitting 'Return' or 'Enter'
@@ -3325,8 +3324,19 @@ ShowModal creates its own event loop calling ProcessMessages.
- The monitor type on which the form shall appear.
-
+ The monitor on which the form will appear.
+ Possible values:
+
+
+ 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 use dmMainForm behavior.
+
+
@@ -3349,9 +3359,18 @@ ShowModal creates its own event loop calling ProcessMessages.
- Determines the Style of the form (MDI, splash...).
+ Determines the style of the form.
+ Possible values:
+
+
fsNormal - usual style.
+
fsStayOnTop - form is positioned above all application's forms, except those which have fsStayOnTop style.
+
fsSystemStayOnTop - form is positioned above all OS windows, except other OS top-level windows.
+
fsSplash - form is border-less.
+
fsMDIForm - MDI parent form.
+
fsMDIChild - MDI child form.
+
@@ -9261,10 +9280,10 @@ ShowModal creates its own event loop calling ProcessMessages.
For creating forms without resources you have 3 options:
-
Create a TForm class (not a descendant)
+
Create a TForm class (not a descendant).
Construct your form using the CreateNew() constructor.
It is also possible to disable the exception by setting the global
- variable RequireDerivedFormResource to False.