[Gambas-user] SystemTray

Daniel Campos dcamposf at ...626...
Wed Nov 23 13:27:58 CET 2005


You can create a common menu in a Form, that normally will be hidden.
Then use the TrayIcon events, (for example the "Menu" event to know if
the user clicked the right button), and use "Menu.Popup()" to show it.

The RadioGambas sources can help you with a complete example:

http://gambas.gnulinex.org/radiogambas

Regards,

D. Campos


2005/11/23, Arief Bayu Purwanto <ariefbayu at ...626...>:
> 2005/11/23, Daniel Campos <dcamposf at ...626...>:
> > Hi:
> >
> >   DIM hTray AS TrayIcon
> >
> >   hTray = NEW TrayIcon
> >
> >   hTray.Text = "Hello"
> >   hTray.Picture = Stock["24/ok"]
> >   hTray.Show()
> >
> > Regards,
> >
> > D. Campos
>
>  How to put menu is systray icon?
>
> --
> -- Yahoo!ID : ar1ef_310
> -- http://www.silentstudio.net




More information about the User mailing list