Bug in LV 7.1's handling of double-click events.

Bug in LV 7.1's handling of double-click events.

Post by Rob Calhou » Thu, 29 Sep 2005 01:10:45

NI Support,
 
In my application, user selects item from a listbox with a button or a double-click. Desired behavior is for the listbox to advance to the next item (mod array length) after button press or double-click. Labview processes the button press correctly, but the double-click is handled incorrectly, as follows:
 
Labview catches the double-click event and passes to my application for processing. I process the event and advance the list. Labview then throws a second untrappable event that "selects" an item in the listbox based on the original double-click location. Since this processed after I have already completely my response to the double click, it has the effect of undoing my advance. Workaround is to add a few hundred ms of delay before acting on the double-click event.
 
The attached VI illustrates the problem.
 
By the way, it frosts me that I cannot mail applications engineering directly without an active support contract when filing bug reports. Filing bugs is not requesting support; it is helping NI make LabView better. It takes time to rewrite a malfunctioning VI in a way suitable for submission to NI as a bug report.
 
Sincerely yours,
 
Rob Calhoun
 


Double-click-click.vi:
http://www.yqcomputer.com/

 
 
 

1. Handle double-click event in a dialog

2. Can you force the placement of handled events on double-click?

I use the #region in my code to attempt to partition the code so that it is
easier to get to the code for events and to gather code in the region for
things like Drag/Drop in which there could be 3 or 4 events that handle the
overall functionallity.

Now what I am wondering (since I have not been able to find a way to do it),
is there a way to force the creation of the event stub to the current line
(where the cursor is or at least after the procedure in which the cursor is
at) within the file holding the code?

If not I will enter this request in Connect as a possible upgrade for the
next version of VS.

Thanks
LS

3. No Double-Click event fired for a ListView when I double click.

4. BUG: IE7 mistakes two clicks on a SELECT element as a double-click

5. Double click event invoked when no double click has occurred

6. userform label double-click goes to click event

7. How to distinguish Double-click and Single-Click event?

8. Double Click event caught every other double click

9. double click causes click-event and doubleClick-event

10. Handling double click event

11. Handling double click event in tree view

12. Handle Double-click on <Input type="image">

13. How to enable the Double-click on the fill handle function

14. AAA air force 1s release dates, invisible air force 1s,air force 1s and jordans