Jump to content

Recommended Posts

Posted
    switch GUIGetMsg(0)
        case $GUI_EVENT_CLOSE
            exit(0)
 

How do I exclude "ESC" key from the $GUI_Event_Close?

I dont want app from closing simply because user accidentally hit "ESC" key.

Posted

Put

Opt("GUICloseOnESC", 0) ;1=ESC  closes, 0=ESC won't close

somewhere in the top region of your script

  • 2 weeks later...

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
×
×
  • Create New...