Page 1 of 1

Stop a function key Execution

Posted: 18 Jul 2014, 01:35
by jurquia
Is possible to stop the execution of a function key in Axes? For example in my customized screen I don’t want the users exit through “F3” but I do using a button? even though this function key is an original function of my application.

Re: Stop a function key Execution

Posted: 18 Jul 2014, 16:45
by jeanmichel
You can try to add the following to the onLeave of the screen:

if (ENV.key == "F3")
{
ENV.returnValue = false;
}