Hide/Show Table component with ComboBox
-
Hey!
I'm able to hide & show a table component on the UI with a button click but i'm trying to figure out a way to do it with the ComboBox.
The table is showing the custom wavetable on the LFO Modulator, i'm trying to figure out how to make the table only appear when i select 'Custom' on the ComboBox drop down menu (which is linked to the LFO Modulators WaveForm type) and then for every other option on the ComboBox the wavetable is hidden.
-
It's the same as for a button.
if (combobox value == desired value) show the thing else don't show the thing
-
@d-healey i guessed this but im stuck finding how to bring the combo boxes menu options into the code
-
@Mors what have you tried?
-
@Mors I've tried with the 'getItemText' and then attempting to have the console print that value to make sure i'm heading in the right direction but no luck. I went through your scripting 101 video yesterday so i'm still wrapping my head around the coding side!
-
@Mors In the combobox callback you can just use the value parameter