Hi dan343422,
How were you using the Mouse Down event previously? More specifically, was the Mouse Down event set to prompt the user with a Dialog Box?
Unfortunately, I was unable to run the Labview program attached since the stop-Go Buttons and Enter type definitions were not included. To make sure that all the necessary files are included when attaching programs, create a library (llb) file instead. In Labview, go to File -> Save with Options... Select Development Distribution and go ahead and put a check-mark for 'Save entire hierarchy' and all three of the fields below that option as well. This will just make sure that everything in your program, whether it was a built-in Labview VI or a custom-made VI, is included.
Event cases that prompt
users with a dialog box can cause unexpected behavior in a VI. For example, if you use a Mouse Down event with a numeric control and configure the event case to prompt you with a Dialog Box, the Event structure responds when you click the numeric control, including the increment or decrement arrows, and displays a Dialog Box. Because the Dialog Box appears while the mouse button is still depressed, the Dialog Box retains focus when you release the mouse button, and the numeric control never receives notification of the change in the state of th emouse button because the dialog box receives the notification instead. After the Dialog Box is closed, the numeric control resumes responding to the previous Mouse Down event and can continue to increment or decrement the control indefinitely, even though you are no longer pressing the mouse button.
To avoid this problem, I would recommend that you not use Dialog Boxes inside Event cases that handle the Mouse Down event. Instead, invok
e the Dialog Box inside the Mouse Up event case or outside the Event structure.
Hope this helps! Have a great day!
Kileen Cheng
Applications Engineer
National Instruments