Table of contents



Official Content

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.

Syntax

Event Exit
        Event_code
EndEvent

Where:

Event_code
    Code associated with the event.

Scope

Objects: Transaction

Description

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.

Sample

Event Exit
      msg('You are leaving this screen. Good bye!')
EndEvent

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant