Try the following code: - 
*Public Sub form_Open()
  TrayIcon1.Visible = True
End
Public Sub Menu4_Click()
  TrayIcon1.Visible = False
  Me.Close
End*
The use of *Quit* is not recommended see 
http://gambaswiki.org/wiki/lang/quit <http://gambaswiki.org/wiki/lang/quit>  
I used *gb.gui* to get rid of the last error



-----
Check out www.gambas.one 
--
View this message in context: 
http://gambas.8142.n7.nabble.com/TryIcon-issues-tp58908p58915.html
Sent from the gambas-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to