[SOLVED] Tab key with nested Components


#1

I have a Component which is a child of a parent Component… both have TextEditor components… I find that when I tab in the child that focus switches to the parent TextEditor as well… Is there any way to only have the Tab key cycle through the TextEditor’s on the current Component only and not also the parent?

Thanks,

Rail


#2

https://www.juce.com/api/classKeyboardFocusTraverser.html any use?


#3

Aah… Thanks…

Will look into creating a custom traverser.

Cheers,

Rail


#4

Worked like a charm!

Thanks,

Rail