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

Home » Public Forums » archive » Re: TVCRS and Widgets
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
Re: TVCRS and Widgets [message #29030] Tue, 29 January 2002 19:31
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Kelly Dean <krdean@lamar.colostate.edu> writes:

> A user would like to input the x and y values or latitude and longitude
> information to move the cursor to the desire location on a image
> displayed on the screen.
>
> I was using TVCRS to move the cursor in a WIDGET_DISPLAY with
> information entered by the user. This works great as long as the x- and
> y-position are appearing on the screen. If the position is not showing,
> then IDL seems to go into an endless loop and prevents any further
> operations. The WIDGET_DISPLAY holds a 1024x1024 image, but the screen
> only shows 800x600 with scroll bars on the GUI display to view the rest
> of the image.


Is this another case of "Doctor, it hurts when I do this?" :-) How
about checking ahead of time to be sure the requested point is
in view before moving the cursor?

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: envi_delete_rois
Next Topic: Naive pointer question ?

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

Current Time: Wed Oct 08 13:42:28 PDT 2025

Total time taken to generate the page: 0.00495 seconds