[Gambas-user] TrayIcon question

Gianluigi bagonergi at ...626...
Fri Apr 15 15:53:11 CEST 2016


Thank you  Zainudin,
unfortunately, also with your interesting code, I do not go out from
application.
See attached image (Stop is red).
Regards
Gianluigi

2016-04-15 2:26 GMT+02:00 zainudin ahmad <author.ilmi at ...626...>:

> That is from your code, maybe this can help.
>
> - Set property Persistent (Form property) to true (
> http://gambaswiki.org/wiki/comp/gb.qt4/window/persistent)
> - Use _new() event instead open()
> - When close(exit) don't use quit, just set me.persistent = false and
> $hTray.Delete()
>
> attach fix project :) , I hope it's work
>
> On Thu, Apr 14, 2016 at 10:29 PM, Gianluigi <bagonergi at ...626...> wrote:
>
> > I can not understand how works TrayIcon.
> > Can someone help me.
> > Attached small demonstration who gives me these Warnigs:
> >
> > gbx3: warning: circular references detected:
> > gbx3:     1 FMain
> > gbx3:     1 DBusStatusIcon
> > gbx3:     1 DBusStatusIconMenu
> > gbx3:     1 TrayIcon
> > gbx3:     4 DBusObject
> > gbx3:     1 Picture
> > gbx3: warning: 192 allocation(s) non freed.
> >
> > Regards
> > Gianluigi
> >
> >
> >
> ------------------------------------------------------------------------------
> > Find and fix application performance issues faster with Applications
> > Manager
> > Applications Manager provides deep performance insights into multiple
> > tiers of
> > your business applications. It resolves application problems quickly and
> > reduces your MTTR. Get your free trial!
> > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mytrayen.png
Type: image/png
Size: 22343 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20160415/a77a059c/attachment.png>


More information about the User mailing list