From 2fd686685e7f920bbd2abbd5e875e054a81c9efb Mon Sep 17 00:00:00 2001
From: dodi
+
+
+
At most one control can have alClient alignment.
+The order of multiple controls of the same (stackable) alignment is determined by their Left or Top coordinate.
+The precedence of conflicting alignment requests (e.g. one at top, one at right) is resolved [how???]
+[which provisions exist for alCustom implementation?]
+Every dragging operation has an associated DragObject, holding references to the source and target controls, and other parameters for the customization of the visual user feedback.
A default DragObject is created automatically when a dragging operation starts, and is destroyed when the operation has ended, so that you must not take special care on it. But an application can provide a customized DragObject in the or handlers of the source control (being dragged).
@@ -2252,6 +2276,7 @@ dmFindTarget: find child control under the mouseThis method updates DockRect for the visual feedback, when a control is dragged over the docksite.
The Delphi compatible version only can use the parameters determined by the default processing in the docksite.
The Lazarus specific version can update the DockObject with better suited parameters. A DockManager here can implement any algorithm for the placement of a dropped control. The default implementation calls the Delphi compatible version.
+The DragDockObject.DockRect spans the entire DockSite.
Returns the screen coordinates of the client area origin.
Note that this value is the position as stored in the interface and is not always in sync with the LCL. When a control is moved, the LCL sets the bounds to the wanted position and sends a move message to the interface. It is up to the interface to handle moves instantly or queued.
@@ -7854,7 +7879,7 @@ Does nothing but call ChangeBounds.The BoundsRect rectangle describes the TopLeft and BottomRight coordinates of the control, relative to its parent. The values are based on the Top, Left, Width and Height of the control.
Set BoundsRect to move the control.
@@ -17005,9 +17030,9 @@ bounds to the wanted position and sends a move message to the interface. It is uADockObject contains valid DragTarget, DragPos and DragTargetPos relative dock site.
+ADockObject contains valid DragTarget, DragPos and DragTargetPos relative dock site. DockRect is undetermined.
DropOnControl may be Nil if nothing has been docked yet, or no target control exists at the mouse coordinates. -DockRect may be unusable in this case (not yet determined).
+Returns True if ADockObject.DropAlign has been determined. If False, the DropAlign has to be determined by default procedures.
- TButton: - - - - Base type for all Buttons. A push button control.
-The user pushes a button (eg selects it with the mouse cursor and clicks the mouse) to start an action.
-