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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user