From 501e81fdab8f052ba134a4a0148ed8afea3b584a Mon Sep 17 00:00:00 2001 From: dodi Date: Fri, 23 Apr 2010 00:59:22 +0000 Subject: [PATCH] docs: TControl updates, docking related git-svn-id: trunk@24841 - --- docs/xml/lcl/controls.xml | 24 ++++++++++++++++-------- docs/xml/lcl/forms.xml | 3 +-- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/docs/xml/lcl/controls.xml b/docs/xml/lcl/controls.xml index 0ecb9631e8..9b63b0f189 100644 --- a/docs/xml/lcl/controls.xml +++ b/docs/xml/lcl/controls.xml @@ -5688,7 +5688,7 @@ Without a DockManager both extents are required, because no (valid) alignment in - Track the docking process when no target has been specified + Adjust the DockRect for floating state (not over a DockSite) @@ -5712,6 +5712,7 @@ Without a DockManager both extents are required, because no (valid) alignment in

If NewDockSite=Nil, Parent is set to Nil (in preparation of floating the control).

Otherwise ARect is adjusted to fit into the logical ClientRect of the NewDockSite. The origin is adjusted according to Align[??? should be DropAlign!], so that the control sits at the according side of the NewDockSite.

Finally the computed coordinates are stored, in BoundsRectForNewParent when the NewDockSite differs from Parent, else in BoundsRect.

+

ARect is the perfect BoundsRect for the control, in screen coordinates when it becomes floating, or in client coordinates of the target docksite.

@@ -5742,7 +5743,7 @@ On dmDragDrop: invokes DragDrop or, if docking, the target.DockDrop. Returns not
- End the docking process + Invokes the OnEndDock handler @@ -5780,7 +5781,7 @@ On dmDragDrop: invokes DragDrop or, if docking, the target.DockDrop. Returns not - Start the docking process + Invokes the OnStartDock handler @@ -5791,8 +5792,7 @@ On dmDragDrop: invokes DragDrop or, if docking, the target.DockDrop. Returns not - - DoStartDrag - start performing the drag + Invokes the OnStartDrag handler @@ -6825,8 +6825,9 @@ On dmDragDrop: invokes DragDrop or, if docking, the target.DockDrop. Returns not - Event handler for the end of a docking manoeuvre + Event handler for the end of a docking operation +

This message is sent to the dragged control.

Sender is the control to be docked.

Target is the control into which the Sender is docked, or Nil when dragging has been aborted.

X and Y are the screen coordinates of the drop.

@@ -6836,6 +6837,7 @@ On dmDragDrop: invokes DragDrop or, if docking, the target.DockDrop. Returns not Event handler for the end of a dragging process +

This message is sent to the dragged control.

Sender is the dragged control.

Target is the control onto which the Sender has been dropped, or Nil when dragging has been aborted.

X and Y are the screen coordinates of the drop.

@@ -6866,11 +6868,17 @@ On dmDragDrop: invokes DragDrop or, if docking, the target.DockDrop. Returns not
- Event handler for the start of a docking manoeuvre + Event handler for the start of a docking operation + +

The handler can provide a special DragDock object, otherwise a default object is created.

+
- Event handler for start of dragging process + Event handler for start of dragging operation + +

The handler can provide a special DragControl object, otherwise a default object is created.

+
diff --git a/docs/xml/lcl/forms.xml b/docs/xml/lcl/forms.xml index 7003605b7c..9cbadb89ef 100644 --- a/docs/xml/lcl/forms.xml +++ b/docs/xml/lcl/forms.xml @@ -3211,7 +3211,6 @@ biHelp - When you click this button a Question Cursor appears and the help routi - Close the form and release its resources @@ -9594,7 +9593,7 @@ Navigation Options is a set, so can take zero or more of the available valuesTComponent.Loaded - + The number of data modules on the screen