D
Dale Fye
I've got an application that I originally programed the
Got_Focus event of a bunch of combo boxes to dropdown the
combo.
My client wants to minimize use of the mouse during data
entry in this application, and would prefer to be able to
tab into the combo and type. However, they have indicated
that they would like to be able to use the down arrow to
dropdown the combo, and select from the list.
I've removed the code from the got_focus event, and added
some code in the controls keydown event to dropdown the
combo if the keycode = 40 then dropdown the list. The
wierd thing is that if I have an item selected, then hit
the down arrow, it drops down the list and moves to the
second entry below the currently selected item. Then,
sometimes, the selected item will move to another
selection without any further input from me. What I think
I need is a way, during the keydown event of the combo
box, to determine whether the box is already dropped
down. Anyone know if there is a way to do this?
Got_Focus event of a bunch of combo boxes to dropdown the
combo.
My client wants to minimize use of the mouse during data
entry in this application, and would prefer to be able to
tab into the combo and type. However, they have indicated
that they would like to be able to use the down arrow to
dropdown the combo, and select from the list.
I've removed the code from the got_focus event, and added
some code in the controls keydown event to dropdown the
combo if the keycode = 40 then dropdown the list. The
wierd thing is that if I have an item selected, then hit
the down arrow, it drops down the list and moves to the
second entry below the currently selected item. Then,
sometimes, the selected item will move to another
selection without any further input from me. What I think
I need is a way, during the keydown event of the combo
box, to determine whether the box is already dropped
down. Anyone know if there is a way to do this?