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

Home » Public Forums » archive » Re: widget function returns an array
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: widget function returns an array [message #19683] Thu, 13 April 2000 00:00 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
eeeyler@my-deja.com wrote:
>
> I wish to make a widget that will allow me to select multiple
> sub-directories from a parent directory and return a string array of
> those sub-directories when I click a 'done' button. I wish to return
> the array to a parent procedure, and have the widget destroyed. Can
> this be done?
>

Oh yes. Look into widget_list,/MULTIPLE along with
widget_info(wid,/LIST_SELECT). Finding subdirectories in a platform independent
way is somewhat troublesome in IDL, and usually requires various
platform-specific flags to findfile() being employed. If you don't care about
platform independence, your job will be easier.

JD

--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Controlling axis labels in IDL plots?
Next Topic: Re: Q: IDL and endianness issues

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

Current Time: Sat Oct 11 08:12:53 PDT 2025

Total time taken to generate the page: 0.64070 seconds