[Gambas-user] About trayIcon popupmenu.

Demosthenes Koptsis demosthenesk at ...626...
Fri Oct 28 19:08:01 CEST 2016


See at Application Farm, the VirtualDVD project.

It implements the sys tray icon with a popup menu


On 10/28/2016 07:49 PM, Gianluigi wrote:
> 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
>>
> ------------------------------------------------------------------------------
> 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