Highlighted
Absent Member.
Absent Member.
314 views

[archive] Last field on screen

[Migrated content. Thread originally posted on 22 September 2006]

I have a problem with a data entry screen with the last field on the screen being the amount. When I get to that field and want to Shift-Tab to go to previous field it does not do it. It updates my record. I know it is doing it because of my after procedure routine. What I need to find out is if there is a way to see what key the user hit to terminate the field. If he hit a tab, Shift-tab or enter or is there a better way to do it without using the after procedure clause.

I am using acubench 7.0

Thanks
Milton
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] Last field on screen

You can assign an exception value to the shift tab key combination via the keystroke configuration variable, then in your after procedure you can find the key value. Or in the after procedure do an accept my-var from escape (this returns the last key entered).
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.