Drag Source Update Event

LabView Local Project Settings

Drag Source Update Event

Installed With: Full Development System

Class: Control Events

Type: Notify

Generated when the mouse moves or a key state changes during a drag and drop operation.

Use this event to use custom drag and drop cursors or to receive notifications of the current state of a drag and drop operation.

Event Data Fields

NameDescription
SourceSource of the event. LabVIEW UI refers to any built-in user interface event.

0LabVIEW UI
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.
TimeValue of the millisecond timer when the event occurred.
CtlRefReference to the control on which the event occurred.
ResultIndicates the current state of the drag operation. Use this value to update the cursor if necessary.

0Drop Cancel—Indicates that no target accepted the data.
1Drop Move—Indicates that the drop target accepted the drag data and expects the drag source to delete its copy of the data.
2Drop Copy—Indicates that a drop target accepted the drag data and expects the data to remain at the source.
CursorThe cursor that LabVIEW uses until the next drag source update. Wire Not a Refnum or leave unwired to use the system-defined drag and drop cursors based on the result.