[Gambas-user] "Me.Persistent = True" does not work?
T Lee Davidson
t.lee.davidson at gmail.com
Tue Jan 11 19:42:20 CET 2022
On 1/11/22 08:20, Gianluigi wrote:
>
>
> Il giorno mar 11 gen 2022 alle ore 12:51 Cristiano Guadagnino <criguada at gmail.com <mailto:criguada at gmail.com>> ha scritto:
>
>
> I see that the English docs have been updated yesterday fixing this misunderstanding.
> I'll update the Italian docs accordingly.
>
>
> Hi Lee,
>
> there was a double 'the' in the wiki, but it seems to me that it is not exactly how it should be explained as my application
> shows and that I attach again.
> The FMain can also be set as permanent and respond correctly when it is closed as any other window of the app.
> Only if all the other windows including any trayicons are closed then the application will close with it.
> The exception is given by the setting:
> Application.MainWindow = Me
> But in this case it would be no sense.
>
> Regards
> Gianluigi
I see what you mean. You are correct, and your example demonstrated it quite nicely.
Is the Doc accurate and more clear now?
http://gambaswiki.org/edit/comp/gb.qt4/window/persistent
--
Lee
More information about the User
mailing list