lkritchey
Member
I have created a drop-down list box that holds 8 numbers representing a month span (3, 6, 9, 12, 15, 18, 21, 25 months). In order to prevent users from typing just anything into the text box above the combo box, I changed it to a drop-down listbox. The other requirement that I was hoping to implement was for the user to be able to type a number, after which the selection would jump to the appropriate item (i.e. the user types in '1', and the selection jumps to 12). This partially works. It will jump to 12, for example, but immediately after the user types the '1', the Selected Index event changes. The user cannot scroll down or up after typing in a number.
I did this same thing with another drop-down listbox, which held months (Jan 07, Feb 07, Mar 07, etc.). Ironically, this listbox works exactly like I want it to. It will jump down to the appropriate month based on what the user types, and will let the user use the keyboard up and down to change the selection.
Have any of you experienced this? Would the difference be because of the user typing in numbers instead of alpha characters? The properties between the two controls are identical, so I am confused by the difference of behavior between them.
If you have any other ideas for how to complete this - please feel free to say so. Thank you in advance for your help!
-Laura
I did this same thing with another drop-down listbox, which held months (Jan 07, Feb 07, Mar 07, etc.). Ironically, this listbox works exactly like I want it to. It will jump down to the appropriate month based on what the user types, and will let the user use the keyboard up and down to change the selection.
Have any of you experienced this? Would the difference be because of the user typing in numbers instead of alpha characters? The properties between the two controls are identical, so I am confused by the difference of behavior between them.
If you have any other ideas for how to complete this - please feel free to say so. Thank you in advance for your help!
-Laura