Stop a function key Execution

Use this Forum to post your “How to …” questions about your use of aXes. This is not a technical support forum. Both the aXes Support Team at LANSA and other aXes customers may answer your questions. LANSA cannot guarantee the accuracy of any information posted by customers.

Moderator: jeanmichel

Post Reply
jurquia
Posts: 2
Joined: 18 Jul 2014, 00:02

Stop a function key Execution

Post 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.
User avatar
jeanmichel
Posts: 109
Joined: 23 May 2014, 11:37
Location: Sydney

Re: Stop a function key Execution

Post by jeanmichel »

You can try to add the following to the onLeave of the screen:

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 |
Post Reply