How can I setup a global onLeave event ?

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
patrickf
Posts: 1
Joined: 16 Feb 2019, 04:28

How can I setup a global onLeave event ?

Post by patrickf » 16 Feb 2019, 04:40

I want to capture the function key that the user pressed on a screen in the onLeave using the ENV.key. I can set this up on a screen in the Screen Level onLeave event.
How can I setup an onLeave script that would apply to every screen. I have seen onApplicationStart to set events that are execute by the TS2 engine as part of pre-rendering an Axes screen, but what fires globally when I leave a screen ?
Axes is being used in a RAMP project, but these screens are not classified in RAMP, so the BUTTONSCRIPT wont trap the function key used on an unknown form.

Post Reply