HISE Logo Forum
    • Categories
    • Register
    • Login

    Allowed characters in UI element IDs

    Scheduled Pinned Locked Moved General Questions
    7 Posts 2 Posters 352 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.
    • FrankbeatF
      Frankbeat
      last edited by

      I'd like to give my UI controls names like TRIG MODE (Kbd / GM Drum Map). So I used the field Text for that but it turned out this doesn't exactly do what I want: Show this string when I add a UI control to my Cubase Quick Controls. What's shown there, is the ID name of the UI element, So I tried to put my nice readable string into the ID field. As you'd expect, it won't accept that input and tells me to not use blank spaces. But to my surprise, when I only entered TRIG MODE by accident, it was accepted. So it seems whitespace is not a problem but rather the parentheses and/or slash or maybe the character count exceeded a given limit.

      So I wonder: What kind of characters are accepted for IDs? Can stuff like parentheses and slashes be used but only when given as some entity?

      Using HISE from the develop branch (Feb '23)

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

        This should be it, no?
        9b3cb50e-db84-4f32-afa9-7695d229a8d9-image.png

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

        FrankbeatF 1 Reply Last reply Reply Quote 1
        • FrankbeatF
          Frankbeat @d.healey
          last edited by

          @d-healey Damn… didn't ever notice that. Thanks!

          Using HISE from the develop branch (Feb '23)

          1 Reply Last reply Reply Quote 0
          • FrankbeatF
            Frankbeat
            last edited by

            …And, is there a way to not have displayed all the other MIDI CC controllers which I don't make use of in my plugin? It's a very long list:
            Bildschirmfoto 2023-11-19 um 17.33.11.png

            Using HISE from the develop branch (Feb '23)

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

              @Frankbeat I don't know, I'm not familiar with Cubase.

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

              FrankbeatF 1 Reply Last reply Reply Quote 0
              • FrankbeatF
                Frankbeat @d.healey
                last edited by

                @d-healey I don't think this is specific to Cubase. I have some other Plugins running that only show a list that is limited to the Parameters that are used by the interface so it seems to be a setting given by the build.

                Using HISE from the develop branch (Feb '23)

                1 Reply Last reply Reply Quote 0
                • FrankbeatF
                  Frankbeat
                  last edited by

                  Well… if I think about it… I shouldn't bother with it and instead focus on designing my interface in a way it won't urge a user to switch to generic mode :face_with_tears_of_joy:

                  Using HISE from the develop branch (Feb '23)

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

                  46

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.9k

                  Posts