.NET

Reply
Active Contributor
BellwetherBill
Posts: 38
Registered: ‎01-14-2011
Message 1 of 2 (148 Views)

trapping escape key without user input

148 Views, 1 Replies
01-03-2012 04:38 PM

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.

*Expert Elite*
chiefbraincloud
Posts: 752
Registered: ‎02-13-2008
Message 2 of 2 (124 Views)

Re: trapping escape key without user input

01-04-2012 11:39 AM in reply to: BellwetherBill

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community