How can I setup a global onLeave event ?
Posted: 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.
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.