Results 1 to 5 of 5

Thread: Textbox auto fill in?

  1. #1

    Thread Starter
    Addicted Member jestes's Avatar
    Join Date
    Jan 2001
    Location
    Dallas
    Posts
    248
    is there any way to have a textbox do an autocomplete without binding it to a datafield?

  2. #2

    Thread Starter
    Addicted Member jestes's Avatar
    Join Date
    Jan 2001
    Location
    Dallas
    Posts
    248
    someone HAS to know if this is at least possible or not!!!

  3. #3
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    It's possible. You might want to take a look at the code for combobox autocomplete and adapt it to your needs. You, of course, need an array, list, combobox, collection, dictionary, etc., something that you can store your values in. And probably something that can be sorted.
    Hope this gives you an idea on how to accomplish this, or a means to an ends.
    -Excalibur

  4. #4
    New Member
    Join Date
    Feb 2003
    Posts
    12

    Textbox Autocomplete

    Can this be adapted to work with a dataset/dataview?

  5. #5
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    for the textbox...

    depending on how many elements you could possibly complete, it would be faily simple. Just create an array of all possible completions, and in the "txtBox_Change" event, just have it search through the array everytime something happens in the box.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

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