Thank you for responding!
How do I do the following ---
<< function that takes a Collection and returns its members in a properly
separated string; >>
<< event handler that removes the item from the collection. Re-filling the
list is an option.>>
Maria
"Bas Cost Budde" <b.costbudde@heuvelqop.nl> wrote in message
news:cpordj$d5u$1@news2.solcon.nl...[color=blue]
> Maria wrote:[color=green]
> > How can I display the items in a collection in a listbox? Then, what is[/color][/color]
the[color=blue][color=green]
> > code to remove an item from the collection when the item is selected in[/color][/color]
the[color=blue][color=green]
> > listbox ?[/color]
>
> set the RowsourceType property of the listbox to "value list". Have a
> function that takes a Collection and returns its members in a properly
> separated string; assign that to the RowSource property of the listbox
>
> If you are sure you want to do this on click (when the user navigates
> with the keyboard, the Click fires for every row passed, which I
> wouldn't expect):
>
> Set the onClick property for the listbox to [Event Procedure] and write
> an event handler that removes the item from the collection. Re-filling
> the list is an option.
>
> --
> Bas Cost Budde, Holland
>
http://www.heuveltop.nl/BasCB/msac_index.html
> I prefer human mail above automated so in my address
> replace the queue with a tea[/color]