[Gambas-user] "Me.Persistent = True" does not work?

Benoît Minisini g4mba5 at gmail.com
Tue Jan 11 13:04:04 CET 2022


Le 11/01/2022 à 12:40, Cristiano Guadagnino a écrit :
> 
> Thank you Benoit, the concept is now clear, but the documentation isn't.
> I'll propose a change in the docs and then I'll submit it to the list 
> for approval.
> 
> On another note: my application does have a tray icon, but the 
> application is closed nonetheless when I click on "X" on the main window.

The trayicon must be visible. Like a window.

> And this sparks another thought: unfortunately it is not always possible 
> to close an application by closing the main window. Sometimes you have 
> to use the QUIT statements, but that generates other problems in GUI 
> programs.

If you "have to" use QUIT in GUI program, it normally means there is 
something wrong in it.

-- 
Benoît Minisini


More information about the User mailing list