simple combobox question

G

Guest

Hello, just a simple comboboxquestion. i am using Visual Studio 2005 and .NET
2.0.
I have a combobox on the form and i want that combobox to be locked, so the
user can select a value, but the user cannot change the values inside of the
combobox.
Like a normal dropdown list on a internet webpage.
 
T

Tim Van Wassenhove

Patrick F schreef:
Hello, just a simple comboboxquestion. i am using Visual Studio 2005 and .NET
2.0.
I have a combobox on the form and i want that combobox to be locked, so the
user can select a value, but the user cannot change the values inside of the
combobox.
Like a normal dropdown list on a internet webpage.

Set the DropDownStyle property to ComboBoxStyle.DropDownList
 

Ask a Question

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.

Ask a Question

Top