Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / August 2003

Tip: Looking for answers? Try searching our database.

Unbound ListBox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Gilbert - 01 Aug 2003 21:18 GMT
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.  
I wrote an Open event that selects the items when the form
opens, but if the user switches to a different page and
back again the list clears.

Any help would be greatly appreciated.
Sue Mosher [MVP] - 01 Aug 2003 22:20 GMT
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.
Signature

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 

> 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
[quoted text clipped - 10 lines]
>
> Any help would be greatly appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.