how to handle keyboard events ? [message #17842] |
Tue, 16 November 1999 00:00 |
Yura Beletsky
Messages: 4 Registered: July 1999
|
Junior Member |
|
|
Hello, all !
Could you help me. How can I handle events from keyboard ? How can I use
arrow keys in my program (for scrolling grafics for example ) ? Sorry, I
have checked
documentation, but did not
find anything about it ....
Thank you in advance,
Yuri.
|
|
|
Re: how to handle keyboard events ? [message #17847 is a reply to message #17842] |
Mon, 15 November 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Yura Beletsky (guru.normandy@usa.net) writes:
> Could you help me. How can I handle events from keyboard ? How can I use
> arrow keys in my program (for scrolling grafics for example ) ? Sorry, I
> have checked documentation, but did not find anything about it ....
No, nor are you likely to find anything about it, since it
is generally acknowledged not to be possible in IDL. However,
JD Smith came up with a clever hack, which I have written about
in this article:
http://www.dfanning.com/tips/keyboard_events.html
You might find it useful.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|