D
David Sworder
Hi,
I have a ComboBox that contains 1,400 sorted items [don't ask,
management decision
]. Here's the list:
abba
apple
[...lots of items]...
cabba
caccaa
capple
czar
[...lots of items]...
pheasentHeadOfDeath
Let's say the user is trying to select "capple". The natural thing to do
is to dropdown the listbox and type the first few letters of the item's
name. So the user might type "cap." The behavior is as follows: When the
user hits 'c', 'caba' is selected then the user immediately hits 'a' at
which point 'abba' is selected and then the user hits 'p' and
'pheasentHeadOfDeath' is selected. Is there a way to get the ComboBox to
realize that the user is trying to spell a word and highlight the first item
that begins with 'cap'? If this user waits more than x seconds between
keystrokes, the comboBox would realize that he's searching for a new item. I
can think of ways to program this manually, but I wanted to make sure that
this type of thing wasn't already built into the ComboBox via some sort of
"ComboBoxUnderstandsKeystrokesAsWords" property or something.
David
I have a ComboBox that contains 1,400 sorted items [don't ask,
management decision
![Frown :( :(](/styles/default/custom/smilies/frown.gif)
abba
apple
[...lots of items]...
cabba
caccaa
capple
czar
[...lots of items]...
pheasentHeadOfDeath
Let's say the user is trying to select "capple". The natural thing to do
is to dropdown the listbox and type the first few letters of the item's
name. So the user might type "cap." The behavior is as follows: When the
user hits 'c', 'caba' is selected then the user immediately hits 'a' at
which point 'abba' is selected and then the user hits 'p' and
'pheasentHeadOfDeath' is selected. Is there a way to get the ComboBox to
realize that the user is trying to spell a word and highlight the first item
that begins with 'cap'? If this user waits more than x seconds between
keystrokes, the comboBox would realize that he's searching for a new item. I
can think of ways to program this manually, but I wanted to make sure that
this type of thing wasn't already built into the ComboBox via some sort of
"ComboBoxUnderstandsKeystrokesAsWords" property or something.
David