Page 1 of 1

Tab through inputs with custom button

Posted: Sat Oct 29, 2011 11:09 am
by doobox
Hi all,

I would like to use the decimal keypad for 5 text inputs in the card.
As there is no next option in the keypad, i decided it would be best to create a custom next button.
But i cant figure out the best way to make this work.

In my minds eye, the easiest solution would be to simulate a tab key press in the button handler. But i cant find a command for that.
My second thought was a switch block, determining which input currently has the focus, and move the focus accordingly. But i cant find a way to detect which object currently has the focus.

Re: Tab through inputs with custom button

Posted: Sat Oct 29, 2011 11:46 am
by gpb01
Hi,
have you looked in the dictionary ?

focusedObject() : Returns the currently focused control. :)

Guglielmo