[Gambas-user] About trayIcon popupmenu.
Gianluigi
bagonergi at ...626...
Fri Oct 28 18:49:44 CEST 2016
Hi Jorge,
not sure I understand.
Had you seen this post? [0]
Regards
Gianluigi
[0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-td57442.html
2016-10-28 18:01 GMT+02:00 Jorge Carrión <shordi at ...626...>:
> This is the code of the old trayIcon example from Benoit..
>
> Private $hTrayIcon As TrayIcon
>
> Public Sub Main()
>
> $hTrayIcon = New TrayIcon As "TrayIcon"
> $hTrayIcon.Show
>
> End
>
> Public Sub TrayIcon_MouseDown()
>
> $hTrayIcon.Hide
>
> End
>
> It works for me except the MouseDown event, that works now with Click
> Event.
> Ok.
> There isn't any Form here... How the PopupMenu property is suposed to be
> implemented? A Menu needs a Form as parent as I know...
>
> Best Regards.
> ------------------------------------------------------------
> ------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list