HISE Logo Forum
    • Categories
    • Register
    • Login

    Categorize items in a combo box without changing the order of items

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 364 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.
    • A
      Allen
      last edited by

      how could i categorize the items in a combo box (into colums) without changing the order of items?

      I know i can use Level 1::Level 2:: to sort items into submenus but this will change the values of items which will mess up all presets if i add items into a certain level since the preset system only store the value of the combo box...

      J LindonL 3 Replies Last reply Reply Quote 0
      • J
        johnmike @Allen
        last edited by

        @Allen on a recent project to keep my structure in tact I just re-named the items(in my case xml samplemaps) in sequential order like:

        000 -Default
        001 - Samplemap 1
        002 - Samplemap 2
        etc etc etc

        1 Reply Last reply Reply Quote 1
        • J
          johnmike @Allen
          last edited by

          @Allen Screenshot 2025-09-24 at 11.12.53 AM.png

          1 Reply Last reply Reply Quote 1
          • LindonL
            Lindon @Allen
            last edited by

            @Allen said in Categorize items in a combo box without changing the order of items:

            but this will change the values of items which will mess up all presets

            Which is the whole point of NOT using a combo box alone for this, create a label(or a button) that does the loading for you based on its text value, then have the combo box set the text of the label/button. Make the label/button save in preset and the comboBox not save in preset...

            now you can change the order of anything in the combo box and it wont affect your existing presets.

            HISE Development for hire.
            www.channelrobot.com

            A 1 Reply Last reply Reply Quote 3
            • A
              Allen @Lindon
              last edited by

              @Lindon
              Thank you! works as a charm!
              didnt know the preset system saves the texts in labels before...

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

              38

              Online

              2.0k

              Users

              12.6k

              Topics

              109.5k

              Posts