S
Strahimir Antoljak
Could anyone help me with the following:
Is there a quick, or at least known way to
force a ComboBox, having DropDownStyle=
DropDownList, to recognize keyboard input
and perform Item selection based on that.
To be more specific: I have a list of 150 items
(all 7-digit numeric values) represented in
the combobox, and they are sorted. Instead
of scrolling to the specific item, I'd like to
be able to start typing on the keyboard and
have combobox recognize what I am typing,
and based on that, the selected value gets
changed. As I am progressing with the keyboard
input, the selection gets narrowed down.
Say I have to find number 1455601, and start
typing '1' on the keyboard, and first Item that starts
with '1' gets selected, then I type in '4', the second
digit, and then first item starting with '14' in the
combobox list gets selected, and I type in '5'
and selected item is first value starting with '145'
and so forth.
This behavior is very similar to Windows Explorer
(at least in WinXP) when there is a large number
of folders, and instead of scrolling up and down
the browser, typing in first few letters/numbers
of the folder, the sought folder gets selected.
Thanks in advance,
Strah
Is there a quick, or at least known way to
force a ComboBox, having DropDownStyle=
DropDownList, to recognize keyboard input
and perform Item selection based on that.
To be more specific: I have a list of 150 items
(all 7-digit numeric values) represented in
the combobox, and they are sorted. Instead
of scrolling to the specific item, I'd like to
be able to start typing on the keyboard and
have combobox recognize what I am typing,
and based on that, the selected value gets
changed. As I am progressing with the keyboard
input, the selection gets narrowed down.
Say I have to find number 1455601, and start
typing '1' on the keyboard, and first Item that starts
with '1' gets selected, then I type in '4', the second
digit, and then first item starting with '14' in the
combobox list gets selected, and I type in '5'
and selected item is first value starting with '145'
and so forth.
This behavior is very similar to Windows Explorer
(at least in WinXP) when there is a large number
of folders, and instead of scrolling up and down
the browser, typing in first few letters/numbers
of the folder, the sought folder gets selected.
Thanks in advance,
Strah