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

Home » Public Forums » archive » problem with the widget filesel
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: problem with the widget filesel [message #45135 is a reply to message #45005] Wed, 10 August 2005 12:38 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
rlayberry@hotmail.com writes:

> I am using the widget filesel in order to select files to open. the
> example in the help only allows you to pick a single file. i want to
> pick multiple files. when i click on multiple files, however, the
> event handler only picks the first which is selected...how do I return
> all those files which are selected in the event handler?

As pointed out in the on-line help, the event structure
only contains the first of the multiple selected files in
the VALUE field. If you want *all* of the selected files, you
have to use the GET_VALUE keyword to get them:

Widget_Control, event.id, Get_Value=allSelectedFiles

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
Previous Topic: Como unir la interfaz garfica con los procedimientos
Next Topic: new online help in idl 6.2

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

Current Time: Fri Oct 10 02:26:35 PDT 2025

Total time taken to generate the page: 1.51722 seconds