[RESOLVED] Displaying text in a listbox when typed in a textbox
Hi Guys,
I know this is a very simple question. But somehow I cannot solve this problem. I have a listbox and a textbox. I want to display the text in the Listbox when typed in a textbox. How do I do that? Any help will be highly appreciated!!! Thank you. :o :(
Re: Displaying text in a listbox when typed in a textbox
I would use the TextBox's TextChanged event to and loop through the ListBox's Items looking for the one which starts with the text in the TB, if found, set the index to it otherwise I guess set it to -1