Results 1 to 4 of 4

Thread: Auto Complete TextBox

  1. #1

    Thread Starter
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Smile 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.

  2. #2
    Fanatic Member Lerroy_Jenkins's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    661

    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?
    Lerroy

    "η β π", or "Eta Beta Pi" (Eat A Better Pie)

    01001000
    01000101
    01001100
    01010000


    My Own Code - WordCounter

    Useful Forum Links -Reputation - What is it?

  3. #3

    Thread Starter
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Re: Auto Complete TextBox

    Yes for every word , and its for email address.Please help me with some code snippets.

  4. #4
    Fanatic Member Lerroy_Jenkins's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    661

    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
    Lerroy

    "η β π", or "Eta Beta Pi" (Eat A Better Pie)

    01001000
    01000101
    01001100
    01010000


    My Own Code - WordCounter

    Useful Forum Links -Reputation - What is it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width