HISE Logo Forum
    • Categories
    • Register
    • Login

    Set a combobox value from name?

    Scheduled Pinned Locked Moved Scripting
    1 Posts 1 Posters 115 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.
    • ulrikU
      ulrik
      last edited by

      I always seems to get stuck when I'm trying to set a combobox value to a certain name.
      Let's say I have 10 preset names displayed in a cmb, I create a new preset and update the cmb so it display 11 names, I also want the cmb to have the newly created preset chosen, so how do I do that in a simple way?
      Do I have to store al names in an array and use indexOf("new preset"), or is it possible to do it another simpler way?

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

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

      39

      Online

      1.7k

      Users

      11.7k

      Topics

      102.1k

      Posts