Re: Cursor in IDL 8 on Lion [message #78023] |
Thu, 20 October 2011 15:47 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jerru writes:
> And I repeat, it's kind of you to reply, David
Well, I have to admit, I still use the ol' CURSOR
command too on the odd occasion. Even in Coyote
Graphics. For example, it is used with the PLACE
keyword to cgText to allow the user to place
some text in a regular ol' graphics window. :-)
cgDisplay
cgText, /PLACE, 'Use CURSOR to locate this text', COLOR='red'
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
Re: Cursor in IDL 8 on Lion [message #78026 is a reply to message #78025] |
Thu, 20 October 2011 15:37  |
Jerru
Messages: 3 Registered: October 2011
|
Junior Member |
|
|
Thanks for replying, David. Unfortunately, I do need to use cursor,
or rewrite hundreds of IDL programs in my 13-year-old library of user-
authored procedures. I don't want to do that. I'd like cursor to work
in IDL 8 just as it did in IDL 7.
To all the other dinosaurs out there still using cursor, as I
(proudly) am, the GOOD NEWS is, I did some nosing around and figured
out a workaround solution by playing with X11 preferences.
- Go into X11 Prefs, select "Windows" pane.
- Enable "Click-through Inactive Windows."
Now my IDL cursor routine works again. I'm crossing my fingers that
it continues to work.
So, if anyone else has this problem, it's not something to contact ITT
about. It's just the new X11 implementation in Lion that is the
culprit.
On Oct 20, 3:05 pm, Jerru <jerr...@gmail.com> wrote:
> I am encountering an annoying problem using the cursor command in IDL
> 8 on Lion.
>
> Enter "cursor,xxx,yyy,/wait" in the command line, and clicking on the
> window does nothing. The cursor routine never seems to recognize the
> clicking of my mouse (e.g., the "IDL>" prompt appears in italic
> font). I have to hit CTRL-C then click to get the cursor routine to
> release control (and the "IDL>" prompt then appears in roman font
> again).
>
> Any insights to offer?
|
|
|
Re: Cursor in IDL 8 on Lion [message #78030 is a reply to message #78026] |
Thu, 20 October 2011 13:26  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jerru writes:
> I am encountering an annoying problem using the cursor command in IDL
> 8 on Lion.
>
> Enter "cursor,xxx,yyy,/wait" in the command line, and clicking on the
> window does nothing. The cursor routine never seems to recognize the
> clicking of my mouse (e.g., the "IDL>" prompt appears in italic
> font). I have to hit CTRL-C then click to get the cursor routine to
> release control (and the "IDL>" prompt then appears in roman font
> again).
>
> Any insights to offer?
The CURSOR routine!? IDL introduced widgets way back
in IDL 3.0.
What are you trying to do? There might be a more, uh,
modern way to do it. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|