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

Home » Public Forums » archive » IDL7.0 Workbench: configuring cursor focus
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: IDL7.0 Workbench: configuring cursor focus [message #60033 is a reply to message #59391] Fri, 25 April 2008 13:29 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
K.I.W.I. writes:

> To add to my frustration with ECLIPSE and "focus"...
>
> Try the following quick-n-dirty code,
>
>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
> PRO look_at_path
> WINDOW,0
> pt_0=10
> pt_N=20
> f=INDGEN(1000)
> REPEAT BEGIN
> PLOT,f[pt_0:pt_N]
> READ, PROMPT='Enter new pt_0 & pt_N plot extents : ',pt_0,pt_N
> ENDREP UNTIL(pt_0 EQ -99)
>
> STOP
> END
>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> I cannot access/look at the plot window because Eclipse is locked into
> the READ statement!
>
> Anybody confirm this? Work around?

Believe it or not, the work-around is to add a Wait, 0.001 statement
after the READ command. I thought this was too esoteric to write
an article about, but I guess I will.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: idlanroigroup masking weirdness
Next Topic: Re: problem with builtin restore

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

Current Time: Fri Oct 10 13:24:57 PDT 2025

Total time taken to generate the page: 0.96048 seconds