Called each time the user tabs-out of a field or presses Enter or another send key after changing the value of a field. Function should be declared as follows:
function onChange(val, row, col, len, id, aidKey)
{
}
Parameter |
Description |
val |
The field value keyed by the user prior to a TAB or ENTER type key |
key |
The key used to send the screen, such as '[enter]' |
row |
The row the field starts at on where 1 is the first row |
col |
The column the field starts at where 1 is the first column |
len |
Length of the field (not length of the value) |
aidKey |
If not null or undefined, means that the user is sending the screen in using ENTER, PF1 or another send key |
Return Value |
Description |
true |
Continue with tab or ENTER |
false |
Cancel tab or Enter |
Bind your onChange in the FVMsgApi.ConnectMsgFVTerm or ConnectFVTerm function callback as follows:
fvApi.onchange = onChange;