Get Drag Drop Data Function
- Updated2025-01-28
- 2 minute(s) read
Get Drag Drop Data Function
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.

Inputs/Outputs
![]() 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.
![]() 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. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Structures\Event Structure\Drag and Drop - Passing Custom Drag Data.vi