This event is activated after the user exits the object. Inside it, you can define actions that will be executed at the end of the object execution.
Event Exit
Event_code
EndEvent
Where:
Event_code
Code associated with the event.
Objects:
Transaction
This event takes place after the user exits the object (by closing it) or when the return command is executed.
In this event you may, for example, call a Procedure object when the Transaction is almost closed. Take into account that you don't have attribute values to send as parameters. Variables (that do not belong to a nested level) still maintain their values.
Event Exit
msg('You are leaving this screen. Good bye!')
EndEvent