combobox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

i have a combobox in a form. i want the user to be able to type in
something, do something else and then when he/she wants to type something
into the combobox, they have the thing they typed earlier as an autocorrect
option. how do i do this?

can you please help?

cheers
 
Alvo,

Do you mean AutoComplete? Like in textboxes in HTML forms? In .NET
2.0, you would want to take a look at the AutoCompleteSource and
AutoCompleteMode properties on the ComboBox class. It is possible in .NET
1.1, but there is a lot of interop code you need to do it, and I wouldn't
recommend doing it on your own unless you really have to.

Hope this helps.
 
hi,

thanks for the tip. it works!

i am as happy as happy can be! and i owe it all to you. my software is now
complete!

cheers mate!
--
Alvo von Cossel I of Germany


Nicholas Paldino said:
Alvo,

Do you mean AutoComplete? Like in textboxes in HTML forms? In .NET
2.0, you would want to take a look at the AutoCompleteSource and
AutoCompleteMode properties on the ComboBox class. It is possible in .NET
1.1, but there is a lot of interop code you need to do it, and I wouldn't
recommend doing it on your own unless you really have to.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Alvo von Cossel I said:
hi,

i have a combobox in a form. i want the user to be able to type in
something, do something else and then when he/she wants to type something
into the combobox, they have the thing they typed earlier as an
autocorrect
option. how do i do this?

can you please help?

cheers
 
Back
Top