comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how to handle keyboard events ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
how to handle keyboard events ? [message #17842] Tue, 16 November 1999 00:00
Yura Beletsky is currently offline  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 Go to previous message
davidf is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: add lines to a plot window
Next Topic: Re: true type font orientation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 17 21:31:16 PDT 2025

Total time taken to generate the page: 1.12415 seconds