DragDrop Event

Occurs when a drag-and-drop operation is completed.

PROCEDURE Object.DragDrop
LPARAMETERS oSource, nXCoord, nYCoord

Parameters

You must include an LPARAMETERS or PARAMETERS statement in the event procedure and specify a name for each parameter. Visual FoxPro passes the DragDrop event parameters in the following order:

oSource

References the control being dragged. You can refer to properties and methods of the control with this parameter.

nXCoord, nYCoord

Contains the horizontal (nXCoord) and vertical (nYCoord) position of the mouse pointer within the Form when data is dropped on a drop target. These coordinates are expressed in terms of the Form's coordinate system in the unit of measurement specified by the ScaleMode property of the Form.

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic