From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-17-2017 04:16 AM
how i can to drag and drop a file into the all window of my application and read this file of corse,??
Please i need your help ,
Thank youu .
05-17-2017 04:56 AM
You can drop a file into the path control and it will populate the path of the file. If you need to read the file as soon as that happens, use an Event Structure and the path control's Value Change event.
05-17-2017 05:03 AM
Create a Value Change event in an event structure for the path control.
(Note, a Select Function with True and False inputs is a Rube Goldberg)
05-17-2017 05:08 AM
I dont want to drop file into the path control i want to drop it anywhere in my window ???
05-17-2017 05:50 AM
that is not really possible.
http://zone.ni.com/reference/en-XX/help/371361N-01/lvhowto/dragging_and_dropping_vis/
a hackish possibility would be to make a path-control fit the whole pane, and put other controls/indicators in front.
regards
05-17-2017 07:03 AM
Okey, But i can to drop it on the graph or table ... ?
05-17-2017 07:05 AM
If you place a transparent path control over it, but then you can't interact with the graph anymore.
05-17-2017 07:09 AM
thank you ,
05-17-2017 09:38 AM
i Can't drop a text file(myfile.txt) in String indicator and show it how i can do it please ?
05-17-2017 09:50 AM
Only the path control allows to drag a file from the explorer into it! Do the same as with the graph, place a transparent path control over it!