RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionControl.DragDrop Method

Performs actions and generates an OnDragDrop event.

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

This override of the method inherited from TControl executes instructions and generates an OnDragDrop event. The method is called when a user drags and drops an item (Source) onto the custom action control at coordinates (X,Y). 

 

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