I have an XControl that is a numeric with large increment and decrement buttons, and a bunch of other features.
Currently, you click on the inc/dec buttons, and it calls an event in the facade to increment or decrement the value in the numeric.
I want the Increment and Decrement buttons to be able to be held down to increase/decrease the value while the buttons are held down.
Unfortunately, whatever magic calls the Facade.VI locks the GUI when it is called, so the GUI is unable to see the button be released, and it only triggers the facade when the value changes on the buttons. So no matter the mechanical action, when clicking the button the event fires exactly once, which executes the inc/dec code in the facade.
I tried to add code in the facade event structure to inc/dec while the button was pressed, but the button is permanently pressed while the facade runs in response to the button press.
I can think of only two ways out, and neither is good
1. Make this not an XControl, and do the extra functions some other way
2. Add overlay buttons on top of the XControl wherever it is called, that manipulates the XControl in the way that I want
I'm hoping someone out there has used XControls more than I have, and has a workaround I could try.
Thanks
FWIW the Xcontrol is attached (LV2015)