Results 1 to 3 of 3

Thread: combobox

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2009
    Posts
    12

    combobox

    Hi Experts,
    I have a combobox. I want the following functionality. When you key in a character (say "A") it should position to the first string starting with "A", but when you key in another "A", it should go to the next string starting with "A" and so on until it reaches all the strings with character A. Is this possible? Any help will be appreciated. Thank you.

  2. #2
    PowerPoster keystone_paul's Avatar
    Join Date
    Nov 2008
    Location
    UK
    Posts
    3,327

    Re: combobox

    Forget comboboxes and use a text box with an autocomplete source set to a custom source containing all the strings you would normally put in the combobox.

  3. #3
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: combobox

    I know some 3rd party ComboBox controls, like the ones in the DevExpress suite, can have that behavior, but in order for you to reproduce it with standard Microsoft controls, you'll have to create your own custom control; most likely one that Inherits a standard ComboBox but has some custom KeyPress coding.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

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