Vcl.Controls.TBaseDragControlObject.Assign
Delphi
procedure Assign(Source: TDragObject); override;
C++
virtual void __fastcall Assign(TDragObject* Source);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TBaseDragControlObject |
Description
Copies the properties of another drag control object.
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.