Nitin,
Here's one way to trap the Esc key (put this in a movie script):
on startMovie
the exitLock = TRUE --Disable the Esc key
the keyUpScript = "EscHandler" -- Any time a key is pressed call
KeyUpHandler
end
on KeyUpHandler
if the keyCode = 53 then --The Esc key's keyCode is 53
alert "Press Exit button to exit."
end if
end
On Monday, September 23, 2002, at 09:07 PM, nitin sharma wrote:
> hi
> can anybody tell me how i disable esc (Esc) key.
> means spose i have a persentation & i want user can
> only exit by my exit button. if he press esc (Esc) key
> he should get an alert "press exit button to exit"
>
> alot of thanks in advance
> nitin
| Tom Jacobs
| InterVision
| www.intervisionmedia.com
| 541-343-7993
[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!]