Jump to content
Sign in to follow this  
lekremyelsew

GUI Menu - OnEventMode

Recommended Posts

lekremyelsew

I feel really stupid for asking this, but how do I set an OnEvent event for a GUI menu item?

I just can't find it in the help file.

Share this post


Link to post
Share on other sites
/dev/null

I feel really stupid for asking this, but how do I set an OnEvent event for a GUI menu item?

I just can't find it in the help file.

GUICtrlSetOnEvent(), see help file.


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites
lekremyelsew

I know, I tried that, but it doesnt seem to work with menu items

Does it work for you?

Share this post


Link to post
Share on other sites
lekremyelsew

Wow I feel stupid.

I forgot to do Opt("GUIOnEventMode",1) at the beginning.

It works fine, now

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  

×