Results 1 to 4 of 4

Thread: Resolving a Combo Box to a particular item...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2001
    Location
    Buffalo, NY
    Posts
    297

    Resolving a Combo Box to a particular item...

    I have a combo box populated with a few items. However, when the user types in their choice on the keyboard instead of choosing an item from the combo, the .SelectedItem property of the combo box isnt' filled.

    How can I cause the ComboBox to resolve what the user typed to a particular item in the box?

    Thanks,

    Ben

  2. #2
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Question

    Try changing the DropDownStyle of your combobox to be DropDownList.
    ~Peter


  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2001
    Location
    Buffalo, NY
    Posts
    297
    I actually did that but...

    What happens when there are two items in the list that begin with the same letter?

    Will it allow them to type without jumping all over the place?

    Thanks,

    Ben

  4. #4
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    There are at least 50 thousand custom controls out there that will give you this type of functionality. Try doing a search on Google and I'm sure something will come up.

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