How to make a dropdown menu
-
Hi all,
Wanted to know if there was a video or if someone can explain me on how to create a dropdown menu,
Thanks a lot
-
@noah A drop down just requires adding a combo box component to your ui and populating the items list in the property editor.
-
@David-Healey that work also for a menu with preset ?
Like if i want to have :Pad —>. pad1
Pad2
Synth —> synth1
Synth2
Key —> key1
Key2 -
@noah Yes you can add submenus
https://docs.hise.dev/scripting/scripting-in-hise/scriptpanel.html#context-menus
-
@David-Healey okayy thanks, but there is not an other way to turn this :

directly into this so the preset are load everytime when i pick one (i took this for exemple but imagine that synth/pads/keys ect...)

or that also with the combobox with the doc you sent me
-
@noah You'd need to make a custom implementation using a combo box and scripting. The build in preset browser can't be turned into a combo box.