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

Home » Public Forums » archive » deleting a window created with envi_info_wid
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: deleting a window created with envi_info_wid [message #43608 is a reply to message #43498] Wed, 20 April 2005 13:40 Go to previous messageGo to previous message
Jeff N. is currently offline  Jeff N.
Messages: 120
Registered: April 2005
Senior Member
Francois,

Any time I have created widgets using ENVI routines, I've always
created my base widget using WIDGET_AUTO_BASE, and managed it with
AUTO_WID_MNG. AUTO_WID_MNG automatically creates and handles OK and
Cancels buttons. If you can, I'd try using these routines in your code
and see if you can get the results you want that way.

Jeff


Francois L. wrote:
> Thank you for the anwser.
> What about destroying the window if created as follow:
>
> tlb = widget_base(title='Process completed...', column=1,
> xsize=256,ysize=128)
> wtext = widget_base(tlb, /column)
> message1 = widget_label(wtext,value = 'Please process to step 2',

> /align_left)
> widget_control,tlb,/realize
>
> Thanks,
>
> Francois.
>
>
>
>
> "David Fanning" <davidf@dfanning.com> wrote in message
> news:MPG.1ccdb2a69046e6869899cb@news.frii.com...
>> Francois L. writes:
>>
>>> How a window created with envi_info_wid can be deleted ?
>>>
>>> str = 'hello world'
>>> envi_info_wid, str, title='information'
>>>
>>> Does it have a window number so I can use wdelete ?
>>
>> Not knowing a thing about ENVI, I would try something
>> like this:
>>
>> str = 'hello world'
>> envi_info_wid, str, title='information'
>> envi_window = !D.Window
>> WDelete, envi_window
>>
>> Cheers,
>>
>> David
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Fitting a function with multiple independent variables
Next Topic: Re: indexing 2-d vs. 3-d arrays...ARGH!

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

Current Time: Sun Oct 12 06:43:41 PDT 2025

Total time taken to generate the page: 1.60623 seconds