Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Get Drag Drop Data Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Application Control VIs and Functions

Requires: Base Development System

Returns drag data from the current drag and drop operation. Only use this function when it is necessary to access the drag data, not just to examine the data type. If a drag and drop operation is not in progress, LabVIEW returns an error. If the data requested is unavailable, LabVIEW returns an error.

Example

data name is the user-defined name of the drag data that you want to retrieve. You also can use the built-in LabVIEW data types.
LabVIEW Data Type Definition
LV_TEXT String
LV_TREE_TAG String
LV_TREE_ITEMS Array of a cluster that contains an array of strings in the item you are dragging (in order from left to right), an integer that represents the glyph index associated with the item from which you are dragging data, and an integer that represents the indent level of the item from which you are dragging.
LV_LISTBOX_ITEMS Array of a cluster that contains an array of strings in the item you are dragging (in order from left to right) and an integer that represents the glyph index associated with the item from which you are dragging data.
LV_PATH Path
type is the data type of the drag data you want to retrieve.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
data is the drag data returned from LabVIEW. data can adapt to any data type.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Drag and Drop - Passing Custom Drag Data VI in the labview\examples\Structures\Event Structure directory for an example of using the Get Drag Drop Data function.


 

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