PC Review


Reply
Thread Tools Rate Thread

Combobox Autocomplete

 
 
=?Utf-8?B?RGF2aWQgVGlsbWFu?=
Guest
Posts: n/a
 
      22nd Jul 2006
I'm working with C# in Visual Studio 2005. I have a combobox with
AutoCompleteSource = ListItems and DropDownStyle = DropDown. I want users to
be able to type in the combobox and the control to autocomplete (Append
AutoCompleteMode), but have their options limited to the control's ListItems.
Right now the autocomplete works fine, but they can type anything that isn't
in the list. Is there an easy way to set the control to do this or am I going
to have to write code to verify what was typed during TextUpdate or another
event?

 
Reply With Quote
 
 
 
 
Bruce Wood
Guest
Posts: n/a
 
      23rd Jul 2006
Try posting this question to
microsoft.public.dotnet.framework.windowsforms.

David Tilman wrote:
> I'm working with C# in Visual Studio 2005. I have a combobox with
> AutoCompleteSource = ListItems and DropDownStyle = DropDown. I want users to
> be able to type in the combobox and the control to autocomplete (Append
> AutoCompleteMode), but have their options limited to the control's ListItems.
> Right now the autocomplete works fine, but they can type anything that isn't
> in the list. Is there an easy way to set the control to do this or am I going
> to have to write code to verify what was typed during TextUpdate or another
> event?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autocomplete combobox Simon Harvey Microsoft Dot NET Framework Forms 6 15th Apr 2009 07:54 PM
Autocomplete combobox Simon Harvey Microsoft C# .NET 6 15th Apr 2009 07:54 PM
Autocomplete in combobox Manolo Microsoft Dot NET Compact Framework 2 9th May 2007 08:01 AM
AutoComplete ComboBox in ASP.NET? RajW Microsoft ASP .NET 3 18th May 2005 06:10 PM
Autocomplete combobox Michael Shapiro~ Microsoft Dot NET 0 17th Oct 2004 04:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:40 AM.