02-19-2015 08:56 AM
I can't for the life of me find the VI where I demonstrated the ability to limit to a single click and prohibit click and hold. I also can't remember how I did it but trying all the "usual" methods don't seem to work.
Hmm, maybe it'll dawn on me eventually.
02-19-2015 09:31 AM - edited 02-19-2015 09:32 AM
The only thing I can find (which is kind of fidgety) is that every mouse down on the increment and decrement button is actually ignored in a filter event and depending on which button is pressed, a piece of logic decides on whether the value should change and what the changed value should be. It then sets that value per Value (Change) event which gets properly propagated to all listeners.
The awkward side effect is that the button for the increment / decrement does not show the "pressed" state......
Please forgive my re-use of the filename, it currently does NOT support disabled items.....
Shane
02-19-2015 01:18 PM
@JÞB wrote:
Now go and fix the direction too!
That's been bothering me for years.
Use control editor and swap the positions and swap the image on the buttons.
Done.
Ben
02-22-2015 10:16 PM
@Ben wrote:
@JÞB wrote:
Now go and fix the direction too!
That's been bothering me for years.
Use control editor and swap the positions and swap the image on the buttons.
Done.
Ben
I would just like it to be consistent. By default.