CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Autofill

  1. #1
    Join Date
    Dec 2002
    Posts
    14

    Autofill

    Hi,

    Is anybody knows how to make the combo box autofill.
    Like if I type A all the list starting with A should be filtered and so on.

    anybody out there tried this? if so please let me know.

  2. #2
    Join Date
    Jan 2003
    Location
    India
    Posts
    9

    Hi!

    Your problem may be solved if you use combo control thats are associated with MS Forms object.

    Scroll through the component list and add the ms form objects. You will get whole lot of text box,combo,labels,etc

    The combo have the inherent facility that you are all looking about.

    Thanks
    Hope it solves your purpose.

  3. #3
    Join Date
    May 2002
    Location
    Tilburg (Netherlands)
    Posts
    37
    maybe else u can put all items in an array, on text change empty combobox and refill with something like:

    for i = 1 to *
    if left$(array(i), len$(text1.text)) = text1.text then combo1.additem text1.text
    next i

    hope it helpes u out
    May the source be with you...

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

Featured