Groups GeneXus code that's executed sequentially up to the last line, unless there is an error that interrupts it.
Event 'ClientEventName' | Control.AssociatedControlEvent
Is the user event name.
Is the control name that you program the event AssociatedControlEvent
Is one of the events associated with controls (such as tap, long tap, drag, drop, PageChanged, ControlValueChanged, etc. -depending on the control type-)
It details the code to be executed when the event occurs. At least two commands are needed.
The code block Composite/EndComposite groups GeneXus code. This code is executed sequentially to the last line, except when an error in any of such lines occurs. In this case, the sequence will be interrupted.
Therefore, its two main premises are:
- If one of the instructions (calls or assignments) fails, the rest are not executed.
- Error messages (automatic ones as well as loaded by the developer) are displayed on the device screen.
Grammar of Events on the Client Side and Composite Command
Events in Mobile Applications