Reputation: 261
I'm not sure how to ask this so I will use an example:
Words: Soccer, Swimming, Swordfighting Tennis, Baseball, Basketball, Formule1, Fishing, Cycling, ...
Control: txtSports
When the user inputs the letter "s" in the TextBox i would like to get the possibilities that starts with an "s". (Soccer, Swimming, Swordfighting) If the user then inputs "w" (Swimming, Swordfighting) and so on.
How can I do this? I'm doing this in c# (Windows 8 Application)
Upvotes: 1
Views: 100
Reputation: 4837
You should use the autocomplete feature of the text box. Here's a nice article about it.
Upvotes: 2