Re: ENVI: auto_wid_mng [message #40107] |
Thu, 22 July 2004 10:04  |
c_jengo
Messages: 5 Registered: May 2004
|
Junior Member |
|
|
Hi Mort,
You need to include at least one widget that can be managed by
AUTO_WID_MNG (and use the /auto keyword in that widget definition.
For instance:
base = widget_auto_base()
wg = widget_slabel(base, prompt = 'My List')
wm = widget_multi(base, list=['1','2'], uvalue='list', /auto)
result = auto_wid_mng(base)
Chris
"Mort Canty" <m.canty@fz-juelich.de> wrote in message news:<cdnsc7$b1sn$1@zam602.zam.kfa-juelich.de>...
> Hi everyone,
>
> This one's got me stumped (again). The code
>
> base = widget_auto_base()
> wg = widget_slabel(base, prompt = ' ')
> result = auto_wid_mng(base)
>
> gives me the error messages
>
> % Expression must be a structure in this context: INFO.
> % Execution halted at: AUTO_WID_MNG.
>
> Can someone tell me where INFO is coming from and what I'm doing wrong? I'm
> using ENVI 4.0 / IDL 6.0.
>
> Many thanks
>
> Mort Canty
|
|
|
Re: ENVI: auto_wid_mng [message #40249 is a reply to message #40107] |
Fri, 23 July 2004 01:10  |
Mort Canty
Messages: 134 Registered: March 2003
|
Senior Member |
|
|
Right, thank you very much, Chris.
-Mort Canty
"Chris Jengo" <c_jengo@hotmail.com> schrieb im Newsbeitrag
news:4abad136.0407220904.79c61f67@posting.google.com...
> Hi Mort,
> You need to include at least one widget that can be managed by
> AUTO_WID_MNG (and use the /auto keyword in that widget definition.
> For instance:
>
> base = widget_auto_base()
> wg = widget_slabel(base, prompt = 'My List')
> wm = widget_multi(base, list=['1','2'], uvalue='list', /auto)
> result = auto_wid_mng(base)
>
> Chris
|
|
|