LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why does the event structure respond to double Click ?

If one clicks on a greyed-out item, the event structure does detect the double click ? is this normal ?
see attached vi (LV 7.1.1)
0 Kudos
Message 1 of 5
(3,022 Views)
Hi,

This was actually a minor bug in LabVIEW 7.1 and the behavior has been changed for the next release of LabVIEW already. The double-click is now handled both when it is simply handled as a Property Node as well as when it's handled in an Event Structure.

Good catch! Thanks.

Kileen
Message 2 of 5
(2,979 Views)
Hi,

The event is called when the control is dubble clicked, it doesn't concern items. In the dubble click event, use the "dubble click" property. It will be -1 if a disabled item was dubble clicked. Or use the row from the event to check if it is disabled.

Regards,

Wiebe.

"Dr. Imad" <x@no.email> wrote in message news:180006@exchange.ni.com...
If one clicks on a greyed-out item, the event structure does detect the double click ? is this normal ?<br>see attached vi (LV 7.1.1)


debug_double_click.vi:
http://forums.ni.com/attachments/ni/170/104982/1/debug_double_click.vi
Message 3 of 5
(2,939 Views)
There are many ways of handling things, sure.
But the basic idea of a greyed out item is, it should not be selected or accessed. Some may argue against this, but it all depends.
Message 4 of 5
(2,932 Views)
Well put all!

I can hear someone asking already;

"My customer wants to display a warning message if someone double-clicks on a grey-out elements..."

Which way do we go....

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(2,900 Views)