RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseDragControlObject.Create Constructor

Creates an instance of the TBaseDragControlObject and stores a reference to the control that is being dragged.

Pascal
constructor Create(AControl: TControl); virtual;
C++
virtual __fastcall TBaseDragControlObject(TControl * AControl);

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. 

 

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