LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detecting & ignoring double click

I am working on a large test application which uses a number of pop up select boxes and select from lists. A particular problem which is causing some issues is that is the operator double clicks on a popup (or list) the Labview application sees that as two standard mouse clicks causing either instructions to be ignored or problems in selecting options from multiple lists, very occasionally a pop box will run through without the operator clicking on the OK , or other buttons, causing instructions to be ignored. Is there some way I can flush the mouse and keyboard buffer to clear mouse or keyboard input when going to a popup or list selection, or another fix for this problem

0 Kudos
Message 1 of 3
(2,344 Views)

You could add a delay between your pop-up messages. I doesn't need to be much.  Just enough to avoid the double-click.

 

You can setup an event structure to look for a double-click on list boxes. 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,316 Views)

A delay will work for the sequence you have posted.  How is the code written in the actual applicaiton?   Is there an event structure?

-------
Mark Ramsdale
-------
0 Kudos
Message 3 of 3
(2,305 Views)