On Oct 29, 2004, at 1:02 PM, David Harris wrote:
(1) Is there a way to add items programmatically to a multiple
selection in a ListBox? I've tried doing this with
myListBox.Selected(RowNum) = True and it clears the previous
selection. myListBox.ListIndex = RowNum doesn't work either, but I
didn't think it would.
I figured this one out; code of mine was inadvertently clearing the
previous selection when the next item was selected.
(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.
Thanks in advance
David Harris
Davo Systems
410-90 Waller Street
Whitby, Ontario L1R 2B7
(905) 767-3538
dharris at davosystems dot com
_______________________________________________
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>
|