Generates an OnDragDrop event.
procedure DragDrop(Source: TObject; X: Integer; Y: Integer); override;
virtual __fastcall DragDrop(TObject * Source, int X, int Y);
DragDrop is called automatically when the user drops a control onto the TCustomActionBar descendant. When creating an action band that descends from TCustomActionBar, override DragDrop to add additional code that executes when 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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!