ENVI: group leader for envi_plot_data [message #40214] |
Tue, 27 July 2004 00:32  |
Mort Canty
Messages: 134 Registered: March 2003
|
Senior Member |
|
|
Hi again,
Another mystery (for me). I have a GUI with an event handler that looks like
this:
PRO on_button_1, event
widget_control, event.top, Get_Uvalue=info, /no_copy
.
.
envi_plot_data, info.X, info.Y, group = event.top
.
.
widget_control, event.top, Set_Uvalue=info, /no_copy
END
I would have thought that, when I now kill the base widget, the ENVI plot
would also be killed. It isn't.
- Mort
|
|
|
|
|
|
|
Re: group leader for envi_plot_data [message #40449 is a reply to message #40302] |
Wed, 04 August 2004 00:01  |
Mort Canty
Messages: 134 Registered: March 2003
|
Senior Member |
|
|
Great, Tian. It works for me, too. Many thanks.
Mort
"Y.F. Tian" <tianyf@gmail.com> schrieb im Newsbeitrag
news:d1ba5f20.0408031819.6d7d9070@posting.google.com...
> I think it is the problem of envi_plot_data. I found a solution:
> ...
> envi_plot_data, ..., base=base
> widget_control, base, group_leader=event.top
> ...
>
> That works fine in my test program.
>
> Tian
|
|
|