471,337 Members | 1,025 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

C# Windows form ComboBox question


In my C# Windows Form Form1, I have a ComboBox CB1.
What do I need to do to the CB1 so that it won't let user enter value by
Typing, and only allow Select.
Thanks for help.
Jun 27 '08 #1
1 1149
Try CB1..DropDownStyle = ComboBoxStyle.DropDownList;

Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Scott Davies | last post: by
reply views Thread by Scott Davies | last post: by
21 posts views Thread by Dan Tallent | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.