Description

This event is fired at a drop target control in response to data being dragged into, over and out of it.

Syntax

bforward = DRAGOVER (ctrlentID, ctrlclassID, DragEvent, MouseX, MouseY, CtrlKey, ShiftKey, AltKey, MouseButton)

Parameters

DBLCLK accepts arguments for the following parameters.

ParameterDescription
ctrlentIDHas the format WindowNameControlName, where WindowName is the identifier of the window that contains the affected control, and ControlName is the identifier of the control. Notice that a period separates the two values.
ctrlclassIDThe type of control that recognizes the event.
DragEvent

Describes the type of DRAGOVER event taking place. Can be one of the following:

TypeDescription
ENTERData has been dragged onto a control for the first time
MOVEData is being dragged across a control
HOVERMouse is hovering above a control with dragged data
LEAVEThe data has been dragged outside of the control
MouseXx coordinate of the mouse (relative to the client area)
MouseYy coordinate of the mouse (relative to the client area)
ctrlkey
shiftkeyTrue (1), if the shift key is pressed. False (0), if the shift key is not pressed.
mousebuttonA "0" indicates that the left or center mouse button was pressed. A "1" indicates that the right button was pressed. A "2" indicates that the middle mouse button was pressed.

Returns

True or false. If false, the program execution returns to the calling procedure. If true, the event processing goes to the next level.

Remarks

This event is fired synchronously.

See also

DRAGDROP EventDRAGSTART eventDRAGEND event

  • No labels