[Gambas-user] About trayIcon popupmenu.

Jorge Carrión shordi at ...626...
Fri Oct 28 18:01:53 CEST 2016


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.



More information about the User mailing list