[Gambas-user] Me.close BUG

Tobias Boege taboege at ...626...
Sun Sep 14 16:24:29 CEST 2014


On Sun, 14 Sep 2014, Willy Raets wrote:
> Hi,
> 
> It came to my attention that closing a Main form with a simple Me.Close
> doesn't close any other forms that still might be open.
> It didn't used to be that way as far as I can remember, so it must have
> sneaked in somewhere along the road.
> 

As far as _I_ can remember it was always like this.

You can set Application.MainWindow from gb.qt4 (which is initially Null!)
to your main form to have all windows closed as soon as the main window is
closed.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list