Jump to content
Sign in to follow this  

OnEvent mode in Tray menu

Recommended Posts

Hi, i'm having some problem using the event mode with a tray menu. It works fine wih the GUI.

$tray_exit = TrayCreateItem("Exit")
GUISetOnEvent(-1, "_Quit")

I get no error. IT just doesn't work. It doesnt quit. I also tried

GUISetOnEvent($tray_exit, "_Quit")

But that didn't work either. The _Quit() works when i use events on the GUI.


Func _Quit()

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...