I tried to use the TAB key in a custom GUI element (kind of code editor), and each time the only thing that seem to work is a focus change.
I looked at the source and it seem that the KEY is dedicated to focus change. Nothing will change that behavior unless we modify the source...
Would be really nice that the key checking could be disabled by a flag (boolean) that would tell that the currently focused element would "forbid" a focus change. So we could use the key inside our GUI Element. Perhaps something like this:
Code: Select all
GUIElement->setNoFocusChange(true);
So I'll keep that as a wish...