Thank you. It works. Here is another question related to
this one. I have two list boxes on the same form. I
select two items on the list box1, the selected items get
highlight color, I also need to select three items on list
boxe2. When the focus move to the second list box, the
highlight color for the selected items disappear in the
list box1. What should I do to keep the selected items
showing in list box1 when I click on another control?
-----Original Message-----
Use a list box instead of a combo box and on the Advanced
I'm not entirely clear on, the only way to maintain the
display of such selections is to go to an unbound list box
and use code both in the Item_Write event handler to save
the user's selections in some property and in the
Item_Open event handler to reload the list selections.
Actually, you may not have to write code for this: What kind of property did
you bind the list box to? If it's a text property, create a new keywords
property and use that property instead. The behavior I was referring to
occurs when you try to use a text property with a multi-select list box
instead of a text property.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
-----Original Message-----
Actually, you may not have to write code for this: What kind of property did
you bind the list box to? If it's a text property, create a new keywords
property and use that property instead. The behavior I was referring to
occurs when you try to use a text property with a multi- select list box
instead of a text property.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.