Although LabVIEW provides built-in drag-and-drop behavior for text-based controls, you can programmatically implement custom drag-and-drop behavior for any controls, including non-text-based controls. Programmatically implement drag-and-drop behavior with drag-and-drop events to accomplish the following tasks:
Note These topics assume familiarity with Event structures, properties, and methods. |
Complete the following steps to implement custom drag-and-drop behavior:
Note Error handling practices are omitted from the block diagrams in these topics to improve the clarity of the block diagram and to focus on the steps necessary for implementing custom drag-and-drop behavior. Provide error handling mechanisms to tell you why and where errors occur. |
Refer to the Drag and Drop - Passing Custom Drag Data VI in the labview\examples\Structures\Event Structure directory for an example of using drag-and-drop events to implement drag-and-drop behavior.
Open example Find related examples
Refer to the Drag and Drop - Initiating a Custom Drag VI in the labview\examples\Structures\Event Structure directory for an example of implementing drag-and-drop behavior on the plots of graphs.