To define an action that will be executed after pressing Enter or clicking the Confirm button or associated control.
Syntax
Event Enter
Event_code
EndEvent
Where:
Event_code
Code associated with the event.
Description
This event occurs after pressing Enter or clicking the Confirm button or the control associated with the event.
While this event is being executed, only the attributes and variables of the grid appearing in the form and those defined in the Hidden rule and the fixed attribute parameters are available for query.
Win interface
The associated controls may only be buttons.
Web interface
The associated controls may be buttons, images, text blocks and read-only edit boxes.
Example
In the case of a Work Panel displaying information about Clients, if we want to allow the user to modify this information, when the user presses ENTER while positioned over one of the clients we call the Client's Transaction. In order to do that, we have to define the following:
Event Enter
Client.Call(ClientCode)
EndEvent
Scope