Sub OnExit(Sender: Object; Args: IEventArgs);
Begin
//set of operators;
End Sub OnExit;
Sender. Parameters, that returns the component, generated an event.
Args. Parameter that allows to determine the event parameters.
The OnExit event occurs when the component loses the focus (the focus is passed to another component).
The event does nor occur during the switches between forms or applications.
During the switch 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: