diff --git a/docs/xml/lcl/forms.xml b/docs/xml/lcl/forms.xml index d94494558e..2ece2541a6 100644 --- a/docs/xml/lcl/forms.xml +++ b/docs/xml/lcl/forms.xml @@ -202,7 +202,7 @@ but usually the window appear occupying all of the work area of a monitor. The window appears in full screen mode, when allowed by the platform. It will, for example, attempt to appear on the top of task bars and other static platform user interface elements. wsFullScreen is converted to wsMaximized -for use on the the Windows platform; the API does not provide a full screen +for use on the Windows platform; the API does not provide a full screen option. @@ -643,7 +643,7 @@ No actions are performed in the method if Message has any other value in its ScrollCode member. No actions are performed in the method at design-time.
-ScrollHandler ensures the the new value for the Position property is in the +ScrollHandler ensures the new value for the Position property is in the range 0..Range. Calls InvalidateScrollInfo to force scroll bar information to be re-initialized. Calls SetPosition to apply the new value for the Position property and @@ -2318,7 +2318,7 @@ and lapAutoAdjustForDPI enumeration values.
Create is the overridden constructor for the class instance. Create calls the inherited method using the value in TheOwner as -the the owner of the class instance. Create sets the default values for the +the owner of the class instance. Create sets the default values for the following properties:
-Use the Enabled property to enable or disable the magnetic window manager in -the global Screen instance. +The Enabled property determines whether the magnetic window manager is enabled +or disabled in the global Screen instance.
+No actions are performed in the method when the Enabled property is set to -False, when the window flags indicate that the window is being shown or +False, when the window flags indicate that the window is being shown or hidden, or at design-time.
SnapForm calls the GetCompositorExtendedBorder routine to determine if the size for the window is inaccurate for borders or shadows added by the -compositor for the desktop window manager. This weirdness applies to the -Windows platforms only. For other platforms, the size adjustment is not needed -and is not performed. +compositor for the desktop window manager. Both the SnapToMonitor and +SnapToForms methods are called to determine the return value for the method.
The return value is True if the window position was snapped to either an edge on the monitor or another form instance in the application.
++SnapForm is called from the WMWindowPosChanging method when a +LM_WINDOWPOSCHANGING message is received and handled for a form instance. +
+
AllAutoSized is an overridden method used to apply the position
@@ -6401,7 +6420,6 @@ aspects of the form instance. At run-time, it also calls
Destroy calls the inherited destructor prior to exiting from the method. @@ -8257,6 +8280,12 @@ instance to an edge for another form in the application. Use the SnapOptions.SnapFormTarget property to control whether the form allows other forms to be snapped to its edges.
+-Set its Enabled property to False to disable screen and form snapping -behavior in the application. -
-MagnetManager is used when a TForm instance receives and handles a TLMWindowPosChanging (WMWindowPosChanging) message. Its SnapForm method is called to adjust the window position when the form instance is close enough to an edge that the snapping behavior is engaged.
+-Create allocates resources needed for properties, including: -Fonts, Monitors, CustomForms, -CustomFormsZOrdered, and DataModules. Resources for -internal members are also allocated. +Create allocates resources needed for properties, including: Fonts, Monitors, +CustomForms, CustomFormsZOrdered, MagnetManager, and DataModules. Resources +for internal members are also allocated.
-Create gets the default value used for the PixelsPerInch property -from the ScreenInfo variable in the LCL interface. +Create gets the default value used for the PixelsPerInch property from the +ScreenInfo variable in the LCL interface.
Create assigns methods in the class instance as the routines used by the
@@ -11469,7 +11502,6 @@ used to get system fonts for the application.
Does nothing in the current LCL version.