HISE Logo Forum
    • Categories
    • Register
    • Login

    Multi-column comboboxes

    Scheduled Pinned Locked Moved General Questions
    20 Posts 7 Posters 940 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by

      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
      

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      HISEnbergH 1 Reply Last reply Reply Quote 3
      • HISEnbergH
        HISEnberg @d.healey
        last edited by

        @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.

        d.healeyD 1 Reply Last reply Reply Quote 1
        • d.healeyD
          d.healey @HISEnberg
          last edited by

          @HISEnberg Look at what I put in the combo box items in the property editor.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          HISEnbergH 1 Reply Last reply Reply Quote 0
          • HISEnbergH
            HISEnberg @d.healey
            last edited by

            @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.)

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @HISEnberg
              last edited by

              @HISEnberg

              ** Heading **
              Item1
              ___
              Level 1::Level 2:: Level 3
              Level 1::Item2
              Level 1::Item3
              Level 1::Item4
              ~~Deactivated~~
              

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              HISEnbergH Oli UllmannO L 3 Replies Last reply Reply Quote 1
              • HISEnbergH
                HISEnberg @d.healey
                last edited by

                @d-healey Thank you!!

                1 Reply Last reply Reply Quote 0
                • Oli UllmannO
                  Oli Ullmann @d.healey
                  last edited by

                  @d-healey Ah, I hadn't quite understood that either. Thank you for the example! :-)

                  1 Reply Last reply Reply Quote 0
                  • L
                    Lumi283 @d.healey
                    last edited by

                    @d-healey ! I tried the snippet, but i have this result ? How to setup a correct multicolumn combobox with this method ? Thanks

                    72efcf8d-218a-4e3b-98ae-5f7f0070ce15-image.png

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Lumi283
                      last edited by

                      @Lumi283 Are you using the develop branch?

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Lumi283 @d.healey
                        last edited by Lumi283

                        @d-healey I use the default HISE installer

                        336d9758-6d9d-425a-8423-89d4727e93db-image.png

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Lumi283
                          last edited by

                          @Lumi283 You need to build the develop branch

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          L 2 Replies Last reply Reply Quote 0
                          • L
                            Lumi283 @d.healey
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • L
                              Lumi283 @d.healey
                              last edited by Lumi283

                              @d-healey not working with develop branch ...

                              9caeb208-2574-4232-94d9-33e537f1d94f-image.png

                              7f942035-013f-4541-9f29-086a3a957476-image.png

                              d301695d-25ca-44f2-813f-b8aad88daa0d-image.png

                              ulrikU 1 Reply Last reply Reply Quote 0
                              • ulrikU
                                ulrik @Lumi283
                                last edited by

                                @Lumi283 do you have "useCustomPopup" enabled?

                                Skärmavbild 2024-05-29 kl. 15.02.04.png

                                Hise Develop branch
                                MacOs 15.3.1, Xcode 16.2
                                http://musikboden.se

                                1 Reply Last reply Reply Quote 0
                                • d.healeyD d.healey referenced this topic on
                                • bendursoB
                                  bendurso
                                  last edited by

                                  Is there some LAF for the submenu combobox? For some reason, its width is less than half that of the main menu.

                                  d.healeyD 1 Reply Last reply Reply Quote 1
                                  • d.healeyD
                                    d.healey @bendurso
                                    last edited by d.healey

                                    @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;
                                    });
                                    

                                    Link Preview Image
                                    HISE | Docs

                                    favicon

                                    (docs.hise.audio)

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post

                                    27

                                    Online

                                    1.7k

                                    Users

                                    11.9k

                                    Topics

                                    103.2k

                                    Posts