Improper TAB key navigation

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
manik_sheeri
Posts: 53
Joined: Tue May 19, 2009 12:18 am

Improper TAB key navigation

Post by manik_sheeri »

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?
manik_sheeri
Posts: 53
Joined: Tue May 19, 2009 12:18 am

Post by manik_sheeri »

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.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

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
Post Reply