[Gambas-user] How to get the focus back?
Jussi Lahtinen
jussi.lahtinen at ...626...
Tue Sep 7 21:14:30 CEST 2010
I tested your code with Gambas 3 revision 3119 @ Ubuntu 10.04 64bit.
And I couldn't reproduce the problem.
FText.form doesn't lost focus after error message.
However TextBox1 on it does, but that is correct behaviour
(TextBox1.SetFocus is commented out).
Jussi
On Tue, Sep 7, 2010 at 21:59, Matti <math.eber at ...221...> wrote:
> Gambas 3
> Another beginner's question:
>
> I have a little form where the user should make some input.
> When there's something wrong, I give a message and want the user to correct
> the
> input.
> But after the message the focus goes "down" to FMain - I just can't find a
> way
> to get it back to the input form.
> The only way I see is to show the input form as "ShowModal" - but then it's
> displayed centered relative to the desktop, which is ridiculous.
>
> An example is attatched.
> Anybody knows how to?
> Thanks, Matti
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
More information about the User
mailing list