Announcements
Notice: Upload of PDF documents is currently unavailable across the Community due to an ongoing issue.

trapping escape key without user input

trapping escape key without user input

Anonymous
Not applicable
700 Views
1 Reply
Message 1 of 2

trapping escape key without user input

Anonymous
Not applicable

Hi,

 

Does anyone know of a way to trap when the user hits the escape key without a user input function. The idea is to loop infinitely and perform some analysis until the user hits the escape key.

 

I supose I could do the same thing with a form but I would not.

 

Thanks in advance.

0 Likes
701 Views
1 Reply
Reply (1)
Message 2 of 2

chiefbraincloud
Collaborator
Collaborator

This is the simplest example:

 

http://through-the-interface.typepad.com/through_the_interface/2007/02/allowing_users_.html

 

This is a slightly different approach, and the example code does much more than what you are looking for, but not exactly what you are looking for, so you'd have to tweak it a bit.

 

http://through-the-interface.typepad.com/through_the_interface/2008/05/filtering-windo.html

Dave O.                                                                  Sig-Logos32.png
0 Likes