realbasic-nug
[Top] [All Lists]

Re: Multiple Selections in ListBoxes and Dialogs

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Multiple Selections in ListBoxes and Dialogs
From: Terry Ford <tmford at shaw dot ca>
Date: Sun, 31 Oct 2004 03:52:39 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <5B5BA34E-29CC-11D9-91C6-0003930333B8 at davosystems dot com> <51E59DFB-2ACA-11D9-BBC7-0003930333B8 at davosystems dot com>

On 30-Oct-04, at 4:20 PM, David Harris wrote:

On Oct 29, 2004, at 1:02 PM, David Harris wrote:
(2) In an OpenDialog, if you switch to list view you can make multiple selections, but it appears to return only one FolderItem. I would like users to be able to use a dialog to add several items to a list at once, just as they can by dragging a number of items at once from a folder window. Is there a way to do this?

I'm still stumped by this and if anyone can help me with it I'd really appreciate it! The documentation does say that an OpenDialog returns a FolderItem, which to me means a single FolderItem and is the result I've been getting. However, an OpenDialog does allow users to select more than one item. To me, this is potentially confusing behaviour and I'm hoping that someone knows of a solution (other than not using an Open Dialog ;) ) that will allow the multiple selection to be returned.

Check out these two treads in the mail NUG Archives. Your answers are there.

Search String: multi-file selection

<http://www.realsoftware.com/listarchives/realbasic-nug/2004-09/ msg01207.html>

Search String: multiple file selection

<http://www.realsoftware.com/listarchives/cgi-bin/namazu.cgi? query=multiple+file+selection&submit=Search%21&idxname=realbasic- nug&max=10&result=normal&sort=score>

The MBS plug-in seems to be the easiest unless you're into Carbon and Win32 Declares.

HTH,

Terry Ford

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>