RAD Studio VCL Reference
TButtonGroup.DragDrop Method

OnDragDrop event dispatcher.

procedure DragDrop(Source: TObject; X: Integer; Y: Integer); override;
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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!