Hello Rolf, *FMain.Main* is very good!
If what that Cam Era need is a splash, he might also get with this: FMain: Public Sub Form_Open() Dim i As Integer Form1.Show ' Here I make something that I ' can communicate through Form1 For i = 1 To 10 Form1.Comunicate("foo " & CStr(i)) Wait 1 Next Form1.Comunicate("foo " & CStr(i)) Me.SetFocus Form1.Hide End Public Sub Form_Close() Form1.Close End Form1(splash): Public Sub Comunicate(value As String) Label1.Text = "Form 1 " & value End Regards Gianluigi 2016-11-29 12:15 GMT+01:00 Rolf-Werner Eilert <eilert-sprac...@t-online.de>: > In one of my projects, there are two forms the user switches forth and > back with "F9". I use ".Main" to show the other form, so > > FMain.Main > > would it be in your case. But the calling form must still exist for this > to run, so the splash screen would have to disappear later. > > Try and tell if it does what you mean... Maybe Gianluigi's way is better... > > Regards > Rolf > > Am 29.11.2016 11:38, schrieb Gianluigi: > > frmGenerating.ShowModal or ShowDialog? > > > > Regards > > Gianluigi > > > > 2016-11-29 1:50 GMT+01:00 Cam Era <cybercam...@gmail.com>: > > > >> 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 > >> > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user