HISE Logo Forum
    • Categories
    • Register
    • Login

    Keyboard Focus

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 109 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.
    • Oli UllmannO
      Oli Ullmann
      last edited by

      Hello everyone,

      is there a way to check which element is in keyboard focus?

      I only see “grabFocus” and “loseFocus” in the API.

      Thank you very much
      Oli

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @Oli Ullmann
        last edited by

        @Oli-Ullmann setKeyPressCallback has an obj argument that has is Focus Change property or whatever it's called. So the method name is a bit misleading as it definitely fires off as soon as you click the component, too.

        Run the trace on the obj to see all the properties.

        Oli UllmannO 1 Reply Last reply Reply Quote 0
        • Oli UllmannO
          Oli Ullmann @aaronventure
          last edited by

          @aaronventure Thanks for the tip. I'll try that!

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

          25

          Online

          1.7k

          Users

          11.9k

          Topics

          103.6k

          Posts