HISE Logo Forum
    • Categories
    • Register
    • Login

    Multi-column comboboxes

    Scheduled Pinned Locked Moved General Questions
    20 Posts 7 Posters 884 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.
    • 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 0
                                • 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

                                  43

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  101.9k

                                  Posts