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

Home » Public Forums » archive » Re: ENVI: auto_wid_mng
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: ENVI: auto_wid_mng [message #40107] Thu, 22 July 2004 10:04 Go to next message
c_jengo is currently offline  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 Go to previous message
Mort Canty is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Watsyn IDL Broker
Next Topic: GUI parameter passing :NEWBIE

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

Current Time: Fri Oct 10 10:17:04 PDT 2025

Total time taken to generate the page: 2.96091 seconds