I am going absolutely crazy trying to get keyboard focus to work with my label and texteditor fields. I’ve been trying to get keyboard focus to work for several days…
I’ve Googled “JUCE keyboard focus” and searched for “keyboard focus” here and read most of the articles in this forum on the topic and I don’t find any of it helpful. It’s overspecific and assumes that I mostly understand it all already. I don’t.
I’m not even going to specify the specific problem I have, as I feel that I just have no clue about how any of this works anyway and I want to understand it properly, not just fix my current problem.
What I really need is a high-level tutorial article on keyboard focus. I want to understand how keyboard focus transfers between the DAW and the plugin and between the plugin top component and sub components and so on. I want to understand how to set the order of keyboard focus when the user hits Tab and how to make a component get keyboard focus when the user clicks on it. Do I need to set up handlers for mouse clicks and set the focus explicitly, or should methods such as setWantsKeyboardFocus(true) and setMouseClickGrabsKeyboardFocus do it automatically? I have no clue and nothing I try works. What I really want is a comprehensive overview to keyboard focus.
Does such an article exist?!