Skip to main content

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.

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.