Automatically hooked-up Event; called on each screen being sent to host after an AID key like [enter] or [pf1].
Calls the onsend event if defined.
Note that with VT (character mode) hosts, the [tab], [backtab] and [home] keys will also trigger this event, so it will occur many times when the screen is not really going to change...with 3270 and 5250 hosts, it will indicate that the user is submitting the current complete screen.
Parameter |
Description |
emSess |
The FVTerm Emulation Session object -- this has many properties and not many functions but can be explored with a debugger |
key |
The key used to send the screen, such as '[enter]' |
Return Value |
Description |
true |
Send the AID key to the host and continue with the transition or cursor movement if VT style host |
false |
Cancel sending the AID key and current transition |