API:Vcl.Controls.TDragDockObject.Create
Delphi
constructor Create(AControl: TControl); override;
C++
__fastcall virtual TDragDockObject(TControl* AControl);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDragDockObject |
Description
Creates an instance of the TBaseDragControlObject and stores a reference to the control that is being dragged.
Vcl.Controls.TDragDockObject.Create inherits from Vcl.Controls.TBaseDragControlObject.Create. All content below this line refers to Vcl.Controls.TBaseDragControlObject.Create.
Creates an instance of the TBaseDragControlObject and stores a reference to the control that is being dragged.
Call Create to instantiate a specialized descendant of TBaseDragControlObject from the OnStartDrag event handler of a control that can be dragged. Pass the control that is about to be dragged as the AControl parameter. This control becomes the value of the Control property.