Results 1 to 3 of 3

Thread: Combobox

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Location
    East
    Posts
    8

    Wink Combobox

    Hello



    Does any one have any suggestions on changing the functionality
    of a combobox. The user wants to be able to type in a string in the simple drop down style combo box and have the the matching selected item of the combobox comeup with out hitting the down arrow any suggestions would greatly be appreciated


    Thanks



    Hello Pirate

    Sorry I left out that I am binding the control to a database table.
    If I change the type of the simple drop down to drop downlist
    the control will only let me type in the first letter and it will then go to the matching items in the collection so the simple drop down style is what I need to be using.

    However Thanks for the Response
    Last edited by vbnet20; Apr 28th, 2003 at 11:04 AM.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Have you tried setting the value of the combobox to DropDownList (it did the trick for me ) , like this :

    VB Code:
    1. ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Here's listbox example , it's like combobox though . try it if you would like to .http://www.vbforums.com/showthread.p...t=autocomplete

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