HISE Logo Forum
    • Categories
    • Register
    • Login

    itemText instead of value

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 23 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.
    • resonantR
      resonant
      last edited by

      Is it possible to store the text of the selected item in the preset instead of the selected value in the ComboBox?

      ChazroxC 1 Reply Last reply Reply Quote 0
      • ChazroxC
        Chazrox @resonant
        last edited by Chazrox

        @resonant using the same indexing you're combobox is using to set whatever its setting, you should be able to grab the item text. Store it in an array, or an object.

        What are you trying to do specifically?

        resonantR 1 Reply Last reply Reply Quote 0
        • resonantR
          resonant @Chazrox
          last edited by

          @Chazrox I have a list of numerous items in subcategories within a ComboBox. I don't want to worry about backward compatibility issues when I add items to this list as I update the plugin In the future.

          So, I wanted to ask how to save the selected item as text, rather than the CB value.

          Or perhaps it would be more accurate to ask what needs to be done about this.

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

          32

          Online

          2.1k

          Users

          12.9k

          Topics

          112.2k

          Posts