RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionCombo.DragDrop Method

OnDragDrop event dispatcher.

Pascal
procedure DragDrop(Source: TObject; X: Integer; Y: Integer); override;
C++
virtual __fastcall DragDrop(TObject * Source, int X, int Y);

When creating a component that descends from TControl, override DragDrop to add additional code that executes before the OnDragDrop event handler is called. 

The Source parameter is the object that was dropped onto the control. The X and Y parameters are the mouse coordinates where the object was dropped. 

 

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