Drag Ended Event
Installed With: Full Development System
Class: Control Events
Type: Notify
Generated after a drag and drop operation completes.
This event occurs after a drop operation, after the user cancels the drag and drop operation by pressing the <Esc> key, or the drag source window loses focus. Use this event to implement Drag Moving or if you need to be notified the completion of a drag and drop operation. If you move data during a drag and do not copy it as well, you should delete the source data in the Drag Ended event.
Event Data Fields
Name | Description | ||||||
---|---|---|---|---|---|---|---|
Source | Source of the event. LabVIEW UI refers to any built-in user interface event.
| ||||||
Type | Type of event that occurred, such as Mouse Down, Value Change, Timeout, and so on. | ||||||
Time | Value of the millisecond timer when the event occurred. | ||||||
CtlRef | Reference to the control on which the event occurred. | ||||||
Result | Indicates the current state of the drag operation. Use this value to update the cursor if necessary.
|
Example
Refer to the Drag and Drop - Custom Source Handle Dropping VI in the labview\examples\general\dragdrop directory for an example of using the Drag Ended event.