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

Home » Public Forums » archive » Re: Realizing a widget only once
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: Realizing a widget only once [message #39014 is a reply to message #39008] Wed, 14 April 2004 08:32 Go to previous message
Pavel Romashkin is currently offline  Pavel Romashkin
Messages: 166
Registered: April 1999
Senior Member
You would have to somehow record the fact that the widget has been
created. The simplest place for doing this is a Common block with a
specific name, where you can set a flag. There are alternatives that
have been discussed here before; a Google groups search for IDL global
variable would turn up quite a variety of answers.
Good luck,
Pavel

Ahammer Helmut wrote:
>
> Is there any possibility to open and realize a widget only once, even
> it is called several times? The widget is mainly a draw widget for
> images and is called from an other program or widget like this:
>
> DISPLAYIMAGE, Image = Image
>
> The first call, or if there is no such widget present, should really
> realize the widget. The second call should not realize a second
> widget, but only put the new data (image) to the draw widget.
> I think the /OVERPLOT keyword for IIMAGE does equivalently what I
> want, but I can`t follow the itools syntax for this feature.
>
> Thank you for every input,
> Helmut Ahammer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: processor for idl on MoinMoin
Next Topic: Re: Announcing GDL 0.7.2, now with python support

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

Current Time: Fri Oct 10 17:08:34 PDT 2025

Total time taken to generate the page: 0.96276 seconds