HISE Logo Forum
    • Categories
    • Register
    • Login

    panel.closeAsPopup and more...

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 148 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've got 2 questions, first:
      Is there a way to close a Popup panel using the keyboard keys "esc" or "Return" with some scripting?
      It would be a user-friendly alternativ instead of using the mouse.
      second:
      An editable label is easy to close if you change the text and hit return, cause it's scriptable in the callback but, if you don't change the text and hit return, the callback will not execute so is there an other way to trigger the labels callback using esc or Return?

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

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @ulrik
        last edited by ustk

        @ulrik Nope, I don't think so. This has been raised already once or twice, but the only available keys are the modifier keys (that are no use if not combined with the mouse events)
        When you think about it, the escape/return key is certainly already used by the DAW, so plugins can't use them, except when something like a label or a knob has the focus.

        Can't help pressing F5 in the forum...

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @ustk
          last edited by

          @ustk that's a pity, it would be a nice addition if it would be possible, as you say, when labels and panels are in focus... :(

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

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

          49

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts