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

Home » Public Forums » archive » arrow keys & mouse in profiles.pro
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
arrow keys & mouse in profiles.pro [message #10213] Mon, 27 October 1997 00:00
Cathy Campo is currently offline  Cathy Campo
Messages: 7
Registered: October 1997
Junior Member
I would like to modify the profiles.pro routine in the IDL library
to accept mouse input and keyword input (arrow keys). The idea would
be to move the mouse over an image to get the general location, and
then if the user wants to move pixel by pixel, they could use the
arrow keys, in order to view a slice of the 2D image.
I am running IDL 4.0 on HP workstation. When I do help, /keys I get
this info:


LEFT ARROW <\033[D> = <Cursor Left>
RIGHT ARROW <\033[C> = <Cursor Right>
UP ARROW <\033[A> = <Previous Line>
DOWN ARROW <\033[B> = <Next Line>

I would like to use this info, along with get_kybrd(1) in a while
loop to make the cursor sensitive to the mouse or arrow keys. Has
anyone done this before or have ideas?

Cathy
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Vertical Cursor Callbacks in WzPlot
Next Topic: POLAR_SURFACE in 3D?

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

Current Time: Thu Oct 09 20:26:57 PDT 2025

Total time taken to generate the page: 0.95705 seconds