<< I was wondering if anyone knew how to detect a double click on a button.
>>
Hi Will,
as far as I know the only front panel element that supports a "native"
double-click detection with LV 5.1.1 is the list box control. But I assume
that with my first thought, "Create a transparent listbox over the button
and detect/redirect its clicks to..." you'll run into serious workload.
In my opinion a better workaround could be to measure the time between 2
clicks on the button. Let the user set an "attention flag" with a simple
click - and if no following click is detected after, let's say, 200 ms with
the attention flag set, this click is interpreted as a single one. Otherwise
it *is* a double click!
This should work fine - but only, if your VI itself is executed
fast enough
to allow 2 clicks in (here) 200 ms!
Greetings,
Hans