Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: IDL7.0 Work...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 5548 of 6261
Post > Topic >>

Re: IDL7.0 Workbench: configuring cursor focus

by David Fanning <news@[EMAIL PROTECTED] > Apr 25, 2008 at 02:29 PM

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/
Se****e ma de ni thui. ("Perhaps thou speakest truth.")
 




 8 Posts in Topic:
IDL7.0 Workbench: configuring cursor focus
"K.I.W.I." <  2008-03-19 09:39:33 
Re: IDL7.0 Workbench: configuring cursor focus
"K.I.W.I." <  2008-04-25 12:35:28 
Re: IDL7.0 Workbench: configuring cursor focus
David Fanning <news@[E  2008-04-25 14:29:22 
Re: IDL7.0 Workbench: configuring cursor focus
"K.I.W.I." <  2008-04-25 14:06:23 
Re: IDL7.0 Workbench: configuring cursor focus
David Fanning <news@[E  2008-04-25 15:17:41 
Re: IDL7.0 Workbench: configuring cursor focus
Vince Hradil <hradilv@  2008-04-25 14:40:43 
Re: IDL7.0 Workbench: configuring cursor focus
"K.I.W.I." <  2008-04-28 07:41:41 
Re: IDL7.0 Workbench: configuring cursor focus
David Fanning <news@[E  2008-04-28 08:45:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 21:07:46 CDT 2008.