RAD Studio VCL Reference
TCustomActionToolBar.DragDrop Method

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 drags and drops a control onto the tool bar. This method generates an OnDragDrop event, and then updates its list of hidden controls to reflect the presence of the new child control. 

Source is the dragged control that is dropped onto the tool bar. 

X and Y are the mouse coordinates where Source was dropped. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!