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

Home » Public Forums » archive » Re: IDL 8 Display Updating Question
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: IDL 8 Display Updating Question [message #72678 is a reply to message #72677] Tue, 28 September 2010 09:22 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Sep 28, 12:01 pm, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> I realize it is possible to turn off display updating by
> disabling the Refresh method of an object:
>
>    gobj = Barplot(/TEST)
>    gobj.Refresh, /DISABLE
>    ... lots of changes
>    gobj. Refresh ; Now display the updated object
>
> But you still see the initial bar plot (in this case)
> and then there is a delay until the new, updated object
> appears.
>
> How would I turn off the initial display of the object?
>
> I have tried writing the initial display to a buffer:
>
>    gobj = Barplot(/TEST, /BUFFER)
>
> But then I can't figure out how to actually open a
> new window and display the updated object in it. I
> was hoping for something like this:
>
>    gobj = Barplot(/TEST, /BUFFER)
>    gobj.Refresh, /DISABLE
>    ... lots of changes
>    win = Window()
>    gobj. Refresh , /CURRENT
>
> But that doesn't work. Any ideas?
>
> 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.")

What I think you're looking for is gobj.hide = 1 and then gobj.hide =
0.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Writing in text file
Next Topic: Simple question regarding CATCH,/CANCEL

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

Current Time: Sat Oct 11 00:11:45 PDT 2025

Total time taken to generate the page: 0.72090 seconds