Skip to main content

Entry field finish reason

  • November 17, 2017
  • 1 reply
  • 0 views

Hi,

Is there a way to capture the actual finish reason when leaving an entry field?

I mean, besides of getting EVENT-TYPE = MSG-FINISH-ENTRY (16393), I would like to know which was the key used to leave the entry field (e.g. TAB, Shift TAB, ENTER, mouse action...). 

Thanks.

1 reply

Stephen Hjerpe
  • Participating Frequently
  • November 17, 2017

Hi,

Is there a way to capture the actual finish reason when leaving an entry field?

I mean, besides of getting EVENT-TYPE = MSG-FINISH-ENTRY (16393), I would like to know which was the key used to leave the entry field (e.g. TAB, Shift TAB, ENTER, mouse action...). 

Thanks.

For the keys, you can use the keystroke configuration variable, such as "keystroke" to "exception=69 kB" (this would be for shift tab), and have exception values for all of the keys you want to trap. This wouldn't help with a mouse action.