Stop a function key Execution
Moderator: jeanmichel
Stop a function key Execution
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.
- jeanmichel
- Posts: 109
- Joined: 23 May 2014, 11:37
- Location: Sydney
Re: Stop a function key Execution
You can try to add the following to the onLeave of the screen:
if (ENV.key == "F3")
{
ENV.returnValue = false;
}
if (ENV.key == "F3")
{
ENV.returnValue = false;
}
Regards,
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |
Jean-Michel Rapin
LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |