Skip to main content

[archive] regular list box on exception

  • January 27, 2010
  • 5 replies
  • 0 views

[Migrated content. Thread originally posted on 26 January 2010]

We want to be able to capture some keystrokes when the cursor is located in a listbox (not a paged listbox). Has anyone done this before? specifically we want to catch the page up/down and arrow keys, and potentially one or more function keys.

5 replies

[Migrated content. Thread originally posted on 26 January 2010]

We want to be able to capture some keystrokes when the cursor is located in a listbox (not a paged listbox). Has anyone done this before? specifically we want to catch the page up/down and arrow keys, and potentially one or more function keys.
Not sure if you will be able to catch all the keys you mention, some will be "swallowed" by the control. But you should read about the library function w$keybuf, this provide keystroke recording/playback features.

[Migrated content. Thread originally posted on 26 January 2010]

We want to be able to capture some keystrokes when the cursor is located in a listbox (not a paged listbox). Has anyone done this before? specifically we want to catch the page up/down and arrow keys, and potentially one or more function keys.
Not sure if you will be able to catch all the keys you mention, some will be "swallowed" by the control. But you should read about the library function w$keybuf, this provide keystroke recording/playback features.

[Migrated content. Thread originally posted on 26 January 2010]

We want to be able to capture some keystrokes when the cursor is located in a listbox (not a paged listbox). Has anyone done this before? specifically we want to catch the page up/down and arrow keys, and potentially one or more function keys.
Not sure if you will be able to catch all the keys you mention, some will be "swallowed" by the control. But you should read about the library function w$keybuf, this provide keystroke recording/playback features.

[Migrated content. Thread originally posted on 26 January 2010]

We want to be able to capture some keystrokes when the cursor is located in a listbox (not a paged listbox). Has anyone done this before? specifically we want to catch the page up/down and arrow keys, and potentially one or more function keys.
We capture function key presses in a paged list box- we'll F8 anyway.

[Migrated content. Thread originally posted on 26 January 2010]

We want to be able to capture some keystrokes when the cursor is located in a listbox (not a paged listbox). Has anyone done this before? specifically we want to catch the page up/down and arrow keys, and potentially one or more function keys.
Thanks for the direction, I'll look into the w$keybuf, I know we were using that in another program for something, time to dig that up...