RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDragControlObject.Assign Method

Copies the properties of another drag control object.

Pascal
procedure Assign(Source: TDragObject); override;
C++
virtual __fastcall Assign(TDragObject Source);

Call Assign to copy the properties of another drag object. Assign changes the DragTarget, DragHandle, DragPos, DragTargetPos, MouseDeltaX and MouseDeltaY properties to match a drag object supplied as the Source parameter. If Source is a descendant of TBaseDragControlObject (normally the case), assign copies the Control property as well. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!