Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Drag Source Update Event

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Event for Control.

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.
0LabVIEW UI
1ActiveX
2.NET
25User Event
nOther
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. Values include:
  • Drop Cancel—Indicates that no target accepted the data.
  • Drop Move—Indicates that the drop target accepted the drag data and expects the drag source to delete its copy of the data.
  • Drop 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.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit