Combos and LUA
Create custom control surfaces for MIDI hardware.
Status: Beta
Brought to you by:
ctrlr
I have several combos which I change it's content thru LUA. When it's content change, the combo displays "no selection", but the value of the combo is still the value it had before the combo content changed. To display the value again in the combo is tricky, because I have to change the combo value to a different value and change it again to the desired value.
been there. my fix was to use one script that sets all comboboxes in the panel to their max value, then a timer callback that sets them all to their min value 200ms later. I've got an "allMax" script and an "allMinCallback" which is called from the timer started in "allMax". "allMax" is assigned to the panel under "called after panel is loaded"
Thanks for your input, Rob.
My problem is that this combo trigger other things and I don't want to change it's value several times only to display it correctly. And the combo can be changed at any moment, it's not a initialization problem.