Step 5: Verify that the Drop Target Can Accept the Drag Data

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

To determine the expected result of a drop operation and to indicate the result to the user, verify that the drop target can accept the drag data. By default, LabVIEW changes the cursor to indicate that if the drop occurs now, the drop target updates with the drag data.

What to Use

Use the following block diagram objects to verify that the drop target can accept the drag data:

Search 1D Array Not Equal?

What to Do

Create the following block diagram to verify that the drop target can accept the drag data.

The following list describes important details about the previous block diagram.

The Available Data Names parameter provides an array of strings containing the custom data names you pass to the Start Drag method in the Mouse Leave event.
Search the Available Data Names for the custom data name you want the drop target to accept. If the Search 1D Array function finds the data name, the drag data is acceptable.

After you verify that the drop target can accept the drag data, update the drop target with the drag data.

WAS THIS ARTICLE HELPFUL?

Not Helpful