02-09-2009 10:57 AM
Hello erveryone,
My problem is quite easy...I try to use the File dialog vi from NI and it's work correctly, but when I select a file using the double-clic, the second clic is detected as a clic on my panel...
In exemple, if the file I select in file dialog pop-up is justa button on my panel (under the pop-up), the action linked to this button is perfromed...
I tried to disable my front panel when using the dialog box, but it doesn't change nothing.
Did someone have the same problem? Did someone find a solution to this issue?
Thanks for helping,
Fabrice
Solved! Go to Solution.
02-09-2009 12:27 PM
In Labview 8.5 and 8.6 works fine.
Which version do you have?
Are you sure it is not a problem with your mouse ?
02-09-2009 12:41 PM
02-10-2009 02:46 AM
Hello, and thanks for your first answers,
I dont think it comes from my code... I just use the file dialog vi from labview!!!
The only speciality is that the controls (which could be activated) are in a cluster... Do you think it changes something?
About the version, I'm using the 8.6 version, but the issue was the same with 8.5...
I don't see why the mouse could be an issue? auto-activated third click? Strange...
Fabrice
02-10-2009 03:07 AM
Hi again everyone,
Here is an example of my issue.
The big boolean just change the state of the LED on each click.
If you browse with the path control below and select a file (by double-click) in the file dialog box, the state of the LED changes... It shouldn't have to!!
Any idea?
Fabrice
02-10-2009 03:08 AM
02-10-2009 03:13 AM
Hmm... What's wrong here? When file in dialog selected with double click, then dialog disappeared by mouse down, so, your control under dialog receives mouse up:
Double click: Mouse Down->Mouse Up->Mouse Down (here dialog disappeared)->Mouse Up (you have receive it). Nothing wrong. May be inconvenient in some cases.
Andrey.
02-10-2009 03:26 AM
Thanks Andrey...
I didn't thought the file dialog would be closedon mouse-down!!!
I'll try changing the event on my controls,
Best regards
Fabrice
02-10-2009 04:21 AM
But even then, the double-click event on a file thro' the Windows File Dialog should be over by the time the File Dialog gets disappeared.
I think he is right...
02-10-2009 04:58 AM
Hi again,
I didn't understand exactly what you meant parthabe...sorry!
Well, this post was just to give you a backup. I changed the event to "value changed" and it works perfectly.
So the issue is solved,
Thanks to all