Highlighted
Absent Member.
Absent Member.
254 views

[archive] regular list box on exception

[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.
0 Likes
3 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] regular list box on exception

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.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] regular list box on exception

We capture function key presses in a paged list box- we'll F8 anyway.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] regular list box on exception

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...
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.