Class method--used to send keystrokes to the hosts.
Use this call to send enter (AID) keys such as [enter], [pf1], [pf2], [clear] and so on.
Use to send mix of text (field values) and mnemonics like [home] and [tab]. This is typically more appropriate for VT (character mode hosts) since the SetField call is more appropriate for block-mode (3270 & 5250) hosts.
Quite often, the best way to enter a screen if the cursor location is not known is to use the [home] key and then one or more [tab] keys if needed to position between fields. Be very careful of "auto-skip" fields as these, if the data is the needed length do not need a tab to move to the next field.
Parameter |
Description |
keys |
Any mix of mnemonics and text. See other Inventu Viewer+ help for lists of mnemonics like [enter], [tab], [backtab], [pf1], [pf24], [clear] and so on. |
onNextScreen (optional) |
If a function is provided, it will be called instead of the active onnewscreen event handler (if any). Using this parameter is a good way to implement in-logic handling without worrying about setting a state that would then be processed in the onnewscreen event handler. |
Return Value |
Description |
void |
Return value ignored |