[Gambas-user] Program not starting

Benoît Minisini g4mba5 at gmail.com
Sat Dec 12 21:00:05 CET 2020


Le 12/12/2020 à 20:56, Tony Morehen a écrit :
> 
> This is why I posted in the first place.  The warning should only apply 
> to startup forms. A hidden startup form can crash without an error 
> message, hence the need for a warning. To get a hidden startup, in a 
> startup module Main.module:
> 
> Sub Main()
> 
>      fMain.Load()
> 
> End
> 
> This works in all circumstances and has known behavior: fMain's _new(), 
> Form_Load() routines run, Form_Show() does not. etc.  We don't know what 
> happens with hidden startup form.  Mine crashed. Will other, perhaps 
> simpler, forms?
> 
Can you send me your project with the hidden startup form, so that I can 
understand what happens exactly?

If the startup form is hidden, it is not automatically shown, but the 
form is instanciated.

Regards,

-- 
Benoît Minisini


More information about the User mailing list