Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Dropdown controls - List vs Combo (http://www.outlookbanter.com/outlook-using-forms/5473-dropdown-controls-list-vs-combo.html)

Don Smith January 20th 06 02:41 PM

Dropdown controls - List vs Combo
 
I hope this is an easy question.

If I use the DropDownCombo style, users are NOT restricted to the
choices provided, but can enter anything they choose.

If I use the DropDownList style, users ARE restricted to entering from
the list and cannot enter their own text. But I cannot find a way to
use this control and still allow the user to blank out the control once
text has been entered.

That is my question - how can I provide (blank) as an entry-choice in a
ListBox? I have tried all of these without success:

;a;b;c
a;b;c;
a;b;c;''
a;b;c;""
a;b;c;;

Thanks in advance!
Don Smith - Indiana University


Sue Mosher [MVP-Outlook] January 20th 06 02:59 PM

Dropdown controls - List vs Combo
 
If you want to include a blank row when using the DropDownList style, you will need to set the row values using VBScript code behind the form, not with the Possible Values property of the control. See http://www.outlookcode.com/d/formcontrols.htm#listcombo

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Don Smith" wrote in message oups.com...
I hope this is an easy question.

If I use the DropDownCombo style, users are NOT restricted to the
choices provided, but can enter anything they choose.

If I use the DropDownList style, users ARE restricted to entering from
the list and cannot enter their own text. But I cannot find a way to
use this control and still allow the user to blank out the control once
text has been entered.

That is my question - how can I provide (blank) as an entry-choice in a
ListBox? I have tried all of these without success:

;a;b;c
a;b;c;
a;b;c;''
a;b;c;""
a;b;c;;

Thanks in advance!
Don Smith - Indiana University


Don Smith January 20th 06 06:46 PM

Dropdown controls - List vs Combo
 
Thank you very much!
I can do that if that's what it takes.



All times are GMT +1. The time now is 07:53 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com