Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Using of ComboBox

Using of ComboBox

Scheduled Pinned Locked Moved .NET (Core and Framework)
tutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nagaraju_Focus
    wrote on last edited by
    #1

    Hi All, My task with combobox is: When I Type a letter in combobox it should select the Item which is starting with the letter. for example the Combobox items are One,two,three,Four,Five,thirty,forty,fifty etc. When I type 't',it should select "three" which is first in combobox items and the focus on remaining "hree".agian when i type 'h'(becomes"th") and the focus on "ree",on typing 'i'(becomes"thi"),combo should select "thirty",and focus on "rty".like that it should go on. Please suggest. Thanks In advance G.Nagaraju

    E 1 Reply Last reply
    0
    • N Nagaraju_Focus

      Hi All, My task with combobox is: When I Type a letter in combobox it should select the Item which is starting with the letter. for example the Combobox items are One,two,three,Four,Five,thirty,forty,fifty etc. When I type 't',it should select "three" which is first in combobox items and the focus on remaining "hree".agian when i type 'h'(becomes"th") and the focus on "ree",on typing 'i'(becomes"thi"),combo should select "thirty",and focus on "rty".like that it should go on. Please suggest. Thanks In advance G.Nagaraju

      E Offline
      E Offline
      Ed Poore
      wrote on last edited by
      #2

      Set the AutoCompleteSource property of the ComboBox to ListItems (if in .NET 2) If you're using .NET 1.x then you'll need to write or use a combo box which supports autocomplete. There are a few articles on this site regarding this.


      Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

      N 1 Reply Last reply
      0
      • E Ed Poore

        Set the AutoCompleteSource property of the ComboBox to ListItems (if in .NET 2) If you're using .NET 1.x then you'll need to write or use a combo box which supports autocomplete. There are a few articles on this site regarding this.


        Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

        N Offline
        N Offline
        Nagaraju_Focus
        wrote on last edited by
        #3

        I have set that option,but not able to get wat i want. please can u explain with code or give me a url please Thank u very much Nagraj

        E 1 Reply Last reply
        0
        • N Nagaraju_Focus

          I have set that option,but not able to get wat i want. please can u explain with code or give me a url please Thank u very much Nagraj

          E Offline
          E Offline
          Ed Poore
          wrote on last edited by
          #4

          Nagaraju_Focus wrote:

          give me a url please

          Can you give more information?

          Nagaraju_Focus wrote:

          I have set that option,but not able to get wat i want.

          http://msdn2.microsoft.com/en-us/library/system.windows.forms.combobox.autocompletesource.aspx[^]


          Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups