Greetings all.

I suspect that this is a question with an easy answer, but I've had no luck
in finding it.

In short, I have a project with two forms. One is the main form, the other
a splash screen.
While the first form loads, I display the splash screen with:

    frmGenerating.show

and when the application has completed its loading stage, I close the
splash screen with:

    frmGenerating.close

At that point, I'd like the focus to come back to my main form, but I have
found no way for this to occur. Things like FMain.SetFocus and
FMain.Activate don't achieve this.

Am using stock standard Ubuntu 16.04.

Any suggestions?

TIA

-- Cam
------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to