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

Home » Public Forums » archive » CURSOR routine in widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
CURSOR routine in widgets [message #316] Tue, 23 June 1992 13:50
eaustin is currently offline  eaustin
Messages: 6
Registered: June 1992
Junior Member
I have been trying to develop a widget based application for plotting
airplane tracks. More specifically, I would like to use the mouse to
mark points on a plot and then have the code draw lines or curves between
these points. I am using the command
CURSOR,x,y,3,/DATA
to read the cursor position on the plot when I click the mounse button.

But, it does not seem to work. I put PRINT statements just before and after
the CURSOR call so I know where the code is. The first time I click the
mouse button nothing happens, when I click the second time the CURSOR
routine correctly returns the position of the mouse at the second position.
The position at the first click never appears. When I call CURSOR again
the same thing happens; first click nothing, second click works.

I have not had any problem using CURSOR in a non-widget test. Any ideas?
--
Eric J. Austin EMAIL: eaustin@ll.mit.edu
[Message index]
 
Read Message
Previous Topic: IDL-map_set map-limits ?
Next Topic: Public domain IDL-PVWAVE ancestor?

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

Current Time: Sat Oct 11 06:26:34 PDT 2025

Total time taken to generate the page: 0.14332 seconds