0

I am developing a windows application wherein i need the application to work in the following way :

Say i have a textbox n listbox .
Say in a textbox i type R then all the items in the listbox that contains the letter "R" in them should be listed below the textbox ina dropdown fashion ....as we usually get in google.com / gmail when v send mails..etc....

if ne one has done ne similar application plz...extend kindly help....
if ne one can suggest ne site where i can get plz do let me know :)

awating response...

cya
Rohan

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by DdoubleD
0

Have you tried looking at the autocompletesource, autocompletecustomsource and autocompletemode properties from the TextBox (as of .Net 2.0 I think?)

0

Try Listbox.FindString to lookup the typed text, then use the returned index to set ListBox.TopIndex = index, which will make those items beginning with your typed text appear at the top of the listbox.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.