Step 6: Update the Drop Target with the Drag Data

To update the drop target with the drag data, you must determine whether the drop target accepts the custom data name. If the drop target accepts the data name, retrieve the stored drag data and provide the data to the drop target.

What to Use

Use the following block diagram objects to update the drop target with the drag data:

What to Do

Create the following block diagram to update the drop target with the drag data.

The following list describes important details about the previous diagram:

Tip To ensure that you use the correct data type, right-click the drag source on the block diagram and select Create»Constant. Wire the constant you create to the type parameter of the Get Drag Drop Data function.