Hi all,
I have a tabs gui in my application and I am trying to navigate it via TAB keypress.
But I never get the focus for the RIGHT arrow of the TABCONTROL, so unable to navigate beyond the screen.
Also when I have three levels of Tabs, I see that I never get focus for the second level of tab control buttons.
Can anyone help me understand this?
Improper TAB key navigation
-
- Posts: 53
- Joined: Tue May 19, 2009 12:18 am
I got the fix.
The fix is that in the IGUIElement.h file , inside function getNextElement(...)
there is a recursive call to same function as:
(*it)->getNextElement(startOrder,reverse,group,first,closest);
It should be made as:
(*it)->getNextElement(startOrder,reverse,group,first,closest,includeInvisible);
This way we can have the visible status transferred to the subequent calls.
The fix is that in the IGUIElement.h file , inside function getNextElement(...)
there is a recursive call to same function as:
(*it)->getNextElement(startOrder,reverse,group,first,closest);
It should be made as:
(*it)->getNextElement(startOrder,reverse,group,first,closest,includeInvisible);
This way we can have the visible status transferred to the subequent calls.
Could you give some code-example? I don't really understand what you are trying/doing. Or at least some screenshot - that would maybe also help me to get it.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm