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

Home » Public Forums » archive » Problems using CURSOR
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problems using CURSOR [message #5639 is a reply to message #5501] Thu, 18 January 1996 00:00 Go to previous message
M.Reuss is currently offline  M.Reuss
Messages: 4
Registered: January 1996
Junior Member
It is certainly a nasty behaviour.

To overcome it, you should insert the line

CURSOR,xdummy,ydummy,4

directly after your CURSOR,isx,... call.

This forces IDL to wait for the button to be RELEASED again.


BTW:

CURSOR,isx,isy,wait=3

is probably not what you meant to code. (wait in the description is a
parameter, not a keyword)
To make the procedure return at the button-down transition, you type either

CURSOR,isx,isy,/down

or

CURSOR,isx,isy,3

Your command made IDL wiat for the button being depressed.
However, correcting this does not change the nasty behaviour you noticed,
so that the CURSOR,...,...,4 call is necessary

Best regards

Matthias Reuss (reuss@osf1.mpae.gwdg.de)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: writing to 2 "windows" in idl?
Next Topic: Specifying a line feed

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

Current Time: Sat Oct 11 21:40:38 PDT 2025

Total time taken to generate the page: 0.64066 seconds