quattj
Member
I have a list of 128 items. I have scrolling with up, down, pgup, pgdn, home, and end. I'd also like to be able to jump to a specific number by typing it. I thought of using keyboard_string and reading the last 3 values, but that would also take letters and overly complicate processing.
Is there a fairly simple technique to use to do this sort of thing? I'm thinking of setting a timer for key inputs that starts when a number is pressed, and if another (number) key hasn't been pressed within the timer, jump to that number and reset the "typed number". I usually do keyboard input using the individual keyboard events, but that would be a disaster in this case, and I can't figure out the best way to handle it using the keyboard_* functions.
Is there a fairly simple technique to use to do this sort of thing? I'm thinking of setting a timer for key inputs that starts when a number is pressed, and if another (number) key hasn't been pressed within the timer, jump to that number and reset the "typed number". I usually do keyboard input using the individual keyboard events, but that would be a disaster in this case, and I can't figure out the best way to handle it using the keyboard_* functions.