Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Unbound ListBox
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 9th April 13:54
kevin gilbert
External User
 
Posts: 1
Default Unbound ListBox



How do I create an unbound ListBox on a custom Outlook
form? When I add a ListBox it doesn't let me fill in the
possible values unless I associate it with a field. I
want to create an unbound multi-select ListBox with a
Click event that sets the value of a custom field to the
list of selected items.

I already tried a ListBox bound to a field, but that
doesn't show the saved selections when I reopen the form.


back again the list clears.

Any help would be greatly appreciated.
  Reply With Quote


  sponsored links


2 9th April 13:54
sue mosher [mvp]
External User
 
Posts: 1
Default Unbound ListBox



Use code to set the List property of the control to an array with your selections in it. Or use AddItem to add each selection individually.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666