Multi-column comboboxes
-
HiseSnippet 741.3ocsUssaSCCF1tqdPCGzlDO.4xspITy1XfJWvnmfJV2pniItqxywc0ZI1QINkUgnOE7.wiDuAvuSRWRYU6PknWT8ez+e+GS+PEiGEoBQ3JmNMfivOkLXpTOt4XpPh51BgeNoGMRyCsSE0XZ.MJh6hv309fQ.tRYTxue+tFTOpjwyEgPmoDL9QBegNWZ+C+jvyqC0kepvuf06eXWlR1T4ohA7rFoFJfxtjdA+XpwrRDDd81tBsJbflp4QfMMTtSGLV8MYp8mIhDm6wMLNnAvCkJF0brvys+7bMBgvk6mm4qkl4ufzS3JtVddEXiDE14dTrFfKcaPx4A.IbAHUNERaRFvBEA5bMF77DRWIzPFQgRcQnjZKB+KRSEXfT+Re5k7Ng.y0Nr0A0psiM721ucTrjoEJosRdrRyOQt01Ve2ph0Orr+WUiFsTclvDp773gKUso6FdaNtkL1+bd3N1Sndw7qMDR+Eqoqe+porzrtfgJYWoPeR.Oiuixy0TqLz2rCfxJaldQFBAS0IchMx5DMU9mqZntBIbMMh4rNnjTn3jO5KcaQ0z4OF7tPrB3gZgIkvs3SfMiz1bERKdzkZUPhs9AJoAE3GcOC8UHLA+SHhSMD6BD9zDYDfTn49P7ZQpV09ibpqPdgc0pVcAwNVCGNz5H9DtmsS85oD6VutcJ0dVyl0hSgd1DnM3NaFJNh2LNRq76qBhMfsD5lyrv1hxM1ipWbExbqHSALCrvbqY3TFIzSKdK4ArWU6V2qtuPbSReglMd4XrzRvHzY+efwrqQOizdzHNSmCvxjNecUO8bGg+ypXMLXzipCElImii8G.GgYbH5RI2KxLMUxrgjxWyvap.C3R2Dl+.+xT5X3wYJclqDlIYgpgrz8Jy8tGmHAvjL47dE36L.u8RVk7gyuCYrEepa33tqpi6spNt+p53qVUGOXUc70qpiu4tcz70w2GCmERWaPnd8amb5CiaKovDXxzJ5uvPu7jB
-
@d-healey This is great. Can you tell us how to populate the levels with an array? The traditional combobox method doesn't work here and I tried via scripting a few different combinations but I haven't been able to figure this out.
-
@HISEnberg Look at what I put in the combo box items in the property editor.
-
@d-healey Yes this is what had me confused. Apologies because I know the answer will be quite simple but you only have one item in each "level" (or rather, levels inside levels),. My question is how to list several items in one level (i.e. Level1:: Item1, Item2, Item3, etc.)
-
** Heading ** Item1 ___ Level 1::Level 2:: Level 3 Level 1::Item2 Level 1::Item3 Level 1::Item4 ~~Deactivated~~
-
@d-healey Thank you!!
-
@d-healey Ah, I hadn't quite understood that either. Thank you for the example! :-)
-
@d-healey ! I tried the snippet, but i have this result ? How to setup a correct multicolumn combobox with this method ? Thanks
-
@Lumi283 Are you using the develop branch?
-
@d-healey I use the default HISE installer
-
@Lumi283 You need to build the develop branch
-
This post is deleted! -
-
@Lumi283 do you have "useCustomPopup" enabled?
-
D d.healey referenced this topic on
-
Is there some LAF for the submenu combobox? For some reason, its width is less than half that of the main menu.
-
@bendurso Have you tried
getIdealPopupMenuSize
?laf.registerFunction("getIdealPopupMenuItemSize", function(obj) { // this will set the width to 200 and height to 50 //return [200, 50]; // sets the height to 30 return 30; });