If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
It's been a million years since I've dealt with Informix 4gl, but this is what I recall.
I don't think there's a way to "disable" a key but you can use a built-in Informix function called fgl_lastkey () in the 4gl code to check for the last key pressed.
fgl_lastkey () is designed to be used with the fgl_keyval () function & goes something like this & it would have to be included in the "after field some_field_name" code:
after field some_field_name #validate last key pressed
if fgl_lastkey () = fgl_keyval ("esc") then #if esc was pressed
next field some_field_name #return to last field for valid key stroke
end if
This isn't intended to be a complete solution but perhaps it'll point you in the right direction.
From what I remember the Esc key is the default accept key, but I think there is a way to change that. Take a look at the manual there is got to be something in there.