Using of ComboBox
-
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
-
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
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
-
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
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
-
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
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