Sub OnExit(Sender: Object; Args: IEventArgs);
Begin
//set of operators;
End Sub OnExit;
Sender. Parameter that returns the component that has generated the event.
Args. Parameter that enables the user to determine event parameters.
The OnExit event occurs when the component loses the focus (the focus is passed to another component).
The event does nor occur when switching between forms or applications.
When switching between components placed in different containers, the OnExit event occurs first of all for the component, then for the container in which the component is placed.
See also: