12-04-2015 06:06 PM
I am hoping this is simple, but I just cannot seem to find the answer by searching. I'd like the attached VI to function as follows:
Entry text in the field, click up date and the indicator updates via the event structure.
Unfortunatly it looks like I need to Entry text in the field, PRESS ENTER, click up date and the indicator updates via the event structure.
To me this is not neccesarily intuiative to a user. There has got to be a simple way to do this right?
Thanks
Trent
Solved! Go to Solution.
12-04-2015 06:14 PM - edited 12-04-2015 06:17 PM
1. Instead of using the "mouse down" event on the Update button, use "Value Change"
2. In the properties of the Update button, change the "Operation" tab to be "Latch when pressed". This is the default for all buttons, did you change it?
3. Move the icon for the "Update" button into the event case for it.
That should do it.
As a general rule, all buttons that are "click to do something" (i.e., not just an option toggle) should be set to "Latch when pressed" and should be inside of whatever event case triggers off of their value change. You want to use "Value change" instead of "Mouse down" as it is possible to click buttons by tabbing to them and pressing enter.
12-04-2015 07:29 PM
Yup that fixed it.
Thanks so much and yes I had messed with the Operations when I was trying to get it to function the way I wanted.
It looks like using the value change made the biggest impact though.