It seems that even in Dir 10 there's no way to trap the Esc key when exitLock is set to false. I other words, suppose I want to enable the standard OS X ways of quitting the application--the X button and the Quit command in the system menu--but don't want Esc to close the projector. Is there a way to do that?

Director 10 Help says that Escape key "is also supported in Windows." It doesn't list Escape among the keypresses that quit the projector. Bu on my OS X Mac, Escape quits the projector unless exitLock is true. I want to enable the X button and the Quit command in the system menu, but I don't want Escape to close the application.

Is there a way?

I don't have a machine running OSX handy to test, but can you set the exitLock to TRUE and call quit from an on closeRequest handler (which should be called when the user clicks on the close control)? I'm not sure though if this handler fires when you choose Quit from the system menu.



[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to