Re: [Gambas-user] Setting focus to form.

2016-11-29 Thread Charlie
Here is my contribution to this solution. This code shows a 'Splash' screen while doing a little work then closes the 'Splash' and returns the focus to FMain. Hope it helps. FMainFocus.tar -- View this message in context:

Re: [Gambas-user] Setting focus to form.

2016-11-29 Thread Gianluigi
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))

Re: [Gambas-user] Setting focus to form.

2016-11-29 Thread Rolf-Werner Eilert
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

Re: [Gambas-user] Setting focus to form.

2016-11-29 Thread Gianluigi
frmGenerating.ShowModal or ShowDialog? Regards Gianluigi 2016-11-29 1:50 GMT+01:00 Cam Era : > 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

[Gambas-user] Setting focus to form.

2016-11-28 Thread Cam Era
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