You are not going to be able to do this very easily. I would look at handling the keypress event and capturing when someone is typing a word in the list. You will have all kinds of issues of capturing the previous keypress event and clearing the cache, but using focus events etc. it could be done.
On 29 Sep, 23:21, confused <[EMAIL PROTECTED]> wrote: > On Sep 24, 1:13 pm, Cerebrus <[EMAIL PROTECTED]> wrote: > > > > > > >http://www.google.co.in/search?q=autocomplete+listbox+.net > > > Alternatively, if you want to use a ComboBox or even Textbox, you > > could simply use the ultra-cool built-in "AutoCompleteMode" and > > "AutoCompleteSource" properties. (.NET 2.0 and above) > > > On Sep 24, 2:18 am, confused <[EMAIL PROTECTED]> wrote: > > > > In Visual Studio 2005 - VB I have a form that has a listbox with > > > company titles, when a user is looking for a particular company, they > > > click the beginning letter of the company name and the list moves to > > > the beginning of company names that start with that letter. How can > > > I > > > write code that will keep looking for the company name using the > > > letters the user types. Example if the company name is Turner, when > > > the user types T, the list scrolls down to the 'T''s, but I want to > > > continue scrolling when I type TU; instead if I type tu, the the list > > > scrolls to the 'U''s. > > > > How do I fix this? > > > > Thanks- Hide quoted text - > > > - Show quoted text - > > That would work, but I have been told to make the listbox work, so > need to find out how to code this for VB 2005- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx <p><a href="http://feeds.feedburner.com/DotNetDevelopment"><img src="http://feeds.feedburner.com/~fc/DotNetDevelopment?bg=99CCFF&fg=444444&anim=1" height="26" width="88" style="border:0" alt="" /></a></p> -~----------~----~----~----~------~----~------~--~---
