From a44d1ab453ddca416e055a9312686702e37960ae Mon Sep 17 00:00:00 2001
From: dsiders
+Allows the Lazarus object inspector to query controls which implement the
+interface about the ability to add or delete items in the control.
+
A default DragObject is created automatically when a dragging
-operation starts, and is destroyed when the operation has ended; you do not
+operation starts, and is destroyed when the operation has ended; you do not
need to maintain it. But an application can provide a customized
DragObject in the or handlers for the source control (the one being
@@ -3359,8 +3375,11 @@ and DragImages.
-An UnDock event is sent by a dock site, before a control is undocked from it.
-The handler can reject undocking, by setting Allow to False.
+An UnDock event is sent by a dock site, and occurs before a control is
+undocked. The handler can reject undocking, by setting Allow to False.
+MouseUp is an abstract virtual method in TDragManager.
+It must be implemented in a descendent class to perform actions needed for
+the notification.
+
A DragObject must be created, depending on the Control.DragKind. The mouse
@@ -6607,7 +6646,7 @@ Accessibility support in Lazarus is also documented on the Wiki at:
-ScaleConstraints is called from the ChangeScale method; never
+ScaleConstraints is called from the ChangeScale method; never
call it directly. Multiplier and Divider contain the values passed as
arguments to the ChangeScale method.
+Called when the CM_HINTSHOW message is handled for the control.
+
@@ -16597,45 +16558,21 @@ DoubleBuffered property.
-Because this method is frequently overridden, the LCL calls the method instead; it checks whether DoAutoSize +Because this method is frequently overridden, the LCL calls the + method instead; it checks whether DoAutoSize really should be called right now.
@@ -17366,7 +17268,7 @@ Performs actions to resize and align the control and all of its children.
-DoAllAutoSize is an overridden method in TWinControl.
+DoAllAutoSize is an overridden method in TWinControl.
No actions are performed in the method when wcfAllAutoSizing has already been
@@ -17409,7 +17311,7 @@ control flags when the method is called.
-Iterates the value in Controls to locate any controls where Root is the Owner
-of the control instance. Calls the procedure in Proc using the control
+Iterates the values in Controls to locate any controls where Root is the
+Owner of the control instance. Calls the procedure in Proc using the control
instance as an argument. An application must implement an object procedure
using the signature in TGetChildProc, and pass the procedure in the Proc
argument.
@@ -17524,10 +17426,10 @@ Checks whether the specified class type is allowed as a child control.
-ChildClassAllowed is an overridden method in TWinControl used to determine if
-instances of the class type in ClassType are allowed as child controls.
-Returns True if the specified class type is allowed as a child control
-in the Controls property.
+ChildClassAllowed is an overridden method in TWinControl used to
+determine if instances of the class type in ClassType are allowed as child
+controls. Returns True if the specified class type is allowed as a
+child control in the Controls property.
In TWinControl, the return value is True when ChildClass has been
@@ -17726,8 +17628,9 @@ Scales (resizes) the control and all of its child controls.
-ChangeScale is an overridden method in TWinControl used to ensure that child
-controls are scaled using the values in the Multiplier and Divider arguments.
+ChangeScale is an overridden method in TWinControl used to ensure
+that child controls are scaled using the values in the Multiplier and Divider
+arguments.
ChangeScale extends the inherited method by calling DisableAlign before
@@ -17760,10 +17663,10 @@ Handles a CM_BIDIMODECHANGED control message for the control.
-CMBiDiModeChanged is an overridden method in TWinControl used to handle a
-CM_BIDIMODECHANGED control message received for the control. It calls the
-inherited method on entry to invalidate the control when needed. It extends
-the inherited method to notify child controls of the change using a
+CMBiDiModeChanged is an overridden method in TWinControl used to
+handle a CM_BIDIMODECHANGED control message received for the control. It
+calls the inherited method on entry to invalidate the control when needed. It
+extends the inherited method to notify child controls of the change using a
CM_PARENTBIDIMODECHANGED message.
@@ -17829,14 +17732,31 @@ be redrawn.
+If the control is not Enabled and has a Parent control, the RemoveFocus
+method is called to defocus the control on its Parent form. If the window
+Handle has been allocated for the control, the EnableWindow routine in the
+LCL interface is called to set the enabled state for the handle.
+
+CMEnabledChanged calls the inherited method prior to exit to Invalidate the
+control.
+
+Sets Handle to the unassigned value (0) when the windowed control no longer
+exists.
+
+Called from the Loaded method when LCL component streaming is completed. It
+occurs before auto-sizing is enabled for the component.
+
-FontChanged is an overridden method in TWinControl which implements the
-handler assigned for OnChange events in the Font for the control. The
-assignment occurs in the inherited constructor. FontChanged is called when a
-new value of assigned to the Font property in the control.
+FontChanged is an overridden method in TWinControl
+which implements the handler assigned for OnChange events in the control
+Font. The assignment occurs in the inherited constructor. FontChanged is
+called when a new value of assigned to the Font property in the control.
FontChanged ensures that the widgetset class instance uses the TFont instance
@@ -19401,7 +19345,9 @@ child controls of the change to their parent font.
Called after the Handle is created, and before child handles are created.
@@ -19416,11 +19362,11 @@ Performs actions when a component has been loaded during LCL streaming.
-Loaded is an overridden method in TWinControl used to perform actions needed
-when a component has been loaded from a resource during LCL streaming. It
-extends the inherited method to align and resize it child Controls, as well
-synchronize property values with those in the widgetset class instance when
-its handle has been allocated.
+Loaded is an overridden method in TWinControl used to
+perform actions needed when a component has been loaded from a resource
+during LCL streaming. It extends the inherited method to align and resize it
+child Controls, as well synchronize property values with those in the
+widgetset class instance when its handle has been allocated.
Loaded calls the inherited method to update the BaseBounds for control, and
@@ -19432,13 +19378,14 @@ ordered by their TabOrder property.
+SetCaptureControl is an overloaded procedure in
+
+The overloaded variants allow the new mouse capture control to be specified
+as either a TControl or a TWinControl instance. No actions are performed in
+the routine if the specified control is already the CaptureControl.
+
+If the new capture control is unassigned (Nil), the value in
+CaptureControl is cleared and the ReleaseCapture routine is called. No
+additional actions are performed in the routine.
+
+Otherwise, the control class is used to determine the actions needed. For a
+TWinControl instance, the ControlAtPos method is called determine if a child
+control is active at the specified position and the new capture control. For
+a TControl instance, which does not have a handle, the Parent control is
+used as the new capture control.
+
+ReleaseCapture is called to remove mouse capture for the previous control.
+The SetCapture routine in the LCL interface is called to change the mouse
+capture to the control with the specified handle.
+
+Use GetCaptureControl to retrieve the control which currently has the mouse
+capture.
+
-CheckTransparentWindow is procedure used to check whether the handle for a
-windowed control (or a parent control) is transparent. CheckTransparentWindow
-uses the current mouse position to locate controls or forms under the mouse
-rectangle. The LM_NCHITTEST message is performed for AWinControl to determine
-if the handle is drawn transparently. Additional Forms in the Z-Order are
-visited until an opaque windowed control is located. Parent controls are
-searched too (when needed).
+CheckTransparentWindow is procedure used to check whether the
+handle for a windowed control (or a parent control) is transparent.
+CheckTransparentWindow uses the current mouse position to locate controls or
+forms under the mouse rectangle. The LM_NCHITTEST message is performed for
+AWinControl to determine if the handle is drawn transparently. Additional
+Forms in the Z-Order are visited until an opaque windowed control is located.
+Parent controls are searched too (when needed).
CheckTransparentWindow updates the values in Handle and AWinControl to
@@ -23853,7 +23843,7 @@ virtual keyboard keys:
@@ -23873,8 +23863,8 @@ Adjusts the border space around the control to the client rectangle.
-AdjustBorderSpace is an overloaded routines used to determine the space
-reserved for borders on the corresponding edges of a control.
+AdjustBorderSpace is an overloaded routine used to determine the
+space reserved for borders on the corresponding edges of a control.
AdjustBorderSpace is called from methods in a widgetset class when the its
bounds and constraints are realized and child controls are aligned to the new
dimensions.