Sub OnEnter(Sender: Object; Args: IEventArgs);
Begin
//set of operators;
End Sub OnEnter;
Sender. Parameter that returns the component, generated an event
Args. Parameter that allows to determine the event parameters.
The OnEnter event occurs when a component gets focused.
The event does nor occur during the switches between forms or applications.
During the switch between components placed in different containers, the OnEnter event occurs first of all for the container, then for the component that is placed in the container.
See also: