OLEDrag Method

Applies To   See Also

Starts an OLE drag-and-drop operation.

Syntax

PROCEDURE Object.OLEDrag
LPARAMETERS lDetectDrag

Arguments

lDetectDrag

Specifies when the OLEStartDrag event is executed. If lDetectDrag is false (.F.), the OLEStartDrag event is immediately executed. If lDetectDrag is true (.T.), the OLEStartDrag event is executed after the user has pressed the mouse button for a sufficient period of time to indicate that a drag operation is occurring, or the mouse is moved a sufficient distance while the mouse button is pressed, again indicating that a drag operation is occurring.

If you don’t specify a value for lDetectDrag, true (.T.) is automatically returned.

Remarks

OLEDrag is a drag source method.