RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.DoStartDrag Method

OnStartDrag event dispatcher.

Pascal
procedure DoStartDrag(var DragObject: TDragObject); dynamic;
C++
__fastcall DoStartDrag(TDragObject DragObject);

DoStartDrag calls any event handler attached to the OnStartDrag event. When creating a component that descends from TControl, override DoStartDrag to provide other responses in addition to the inherited event-handler call when the user starts a drag-and-drop operation. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!