You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by daniel stieger <Da...@gmx.at> on 2012/11/09 09:42:35 UTC
Problem with requestFocus
Hello hello,
i have a question regarding requestFocus. As one can see, i have the focus on the cancel button, but i want the focus to be on the textfield with the question mark on.
I also call requestFocus() of textfield, but obviously it return false??
Anything i did not take into account?
Any hint appreciated...
Dan
Re: Problem with requestFocus
Posted by Sandro Martini <sa...@gmail.com>.
Hi Daniel,
sorry for the dalay but still hadn't enough time to reproduce your problem ...
So very good that you solved it.
Bye,
Sandro
Re: Problem with requestFocus
Posted by daniel stieger <Da...@gmx.at>.
Gentlemen,
i found the problem: I should not put the form in a tabelpane.row, instead i should put it into a border and call requestFocus. Then, everything works as expected ....
Best,
Daniel
-------- Original-Nachricht --------
> Datum: Fri, 09 Nov 2012 09:42:35 +0100
> Von: "daniel stieger" <Da...@gmx.at>
> An: user@pivot.apache.org
> Betreff: Problem with requestFocus
> Hello hello,
>
> i have a question regarding requestFocus. As one can see, i have the focus
> on the cancel button, but i want the focus to be on the textfield with the
> question mark on.
>
> I also call requestFocus() of textfield, but obviously it return false??
>
> Anything i did not take into account?
>
> Any hint appreciated...
> Dan