API:Vcl.Controls.TDragDockObject.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 | TDragDockObject |
Description
Copies the properties of another drag control object.
Vcl.Controls.TDragDockObject.Assign inherits from Vcl.Controls.TBaseDragControlObject.Assign. All content below this line refers to Vcl.Controls.TBaseDragControlObject.Assign.
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.