06-21-2023 03:16 AM
How can I obtain data dragged from outside the program interface? Just like dragging a file into the "File Path Control"to obtain the path, I want to drag it to any location within the program interface to obtain the path. I can't get anything using the 'Get Drag Drop Data' function.
06-21-2023 03:33 AM
Hi,
@玄冰 wrote:
I want to drag it to any location within the program interface to obtain the path.
Place a huge path control in the background of your frontpanel. Now the user can drop a file (nearly) anywhere…
06-21-2023 04:30 AM
You may want to kudo this Idea Exchange idea. https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-drag-and-drop-support-for-OS-files-on-any-control...
Discussion over on Lava about this: https://lavag.org/topic/14540-drop-into-a-tree-from-other-program/
It really shouldn't be a huge effort to add external drag and drop support to the already existing drag and drop support in the event structure for controls, and if they are were already busy with it, to also add according events to the pane.