|
-
May 16th, 2008, 03:05 AM
#1
Thread Starter
Fanatic Member
Auto Complete TextBox
I need a autocomplete text box in .net Windows form.I want it to handle multiple words search separated by comma.
Just like tyoing email address..
plz help.
-
May 16th, 2008, 03:45 AM
#2
Fanatic Member
Re: Auto Complete TextBox
Do you want it to do this with EVERY word in the known dictionairy? Or just specific words.
That will requier checking the string everytime someone presses a Key.
May I ask is this for a Email address? or?
-
May 16th, 2008, 03:59 AM
#3
Thread Starter
Fanatic Member
Re: Auto Complete TextBox
Yes for every word , and its for email address.Please help me with some code snippets.
-
May 16th, 2008, 04:16 AM
#4
Fanatic Member
Re: Auto Complete TextBox
We don't give code to people who have not tried first.
I would suggest that you create a function under a KeyPress that takes from the current position of the cursor, back to the begining of the string and check all the characters against a list of words.
So you would have to have something set up that checks, abc against a list of words and says yes it could be abcde or abcdefg or abcgjej etc etc
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|