Forms > Forms Assembly Interfaces > IControl > IControl.OnEnter
OnEnter(Sender: Object; Args: IEventArgs);
Sender. The parameter that returns the component that has generated the event.
Args. The parameter that enables the user to determine event parameters.
The OnEnter event occurs when a component gets focused.
The event does nor occur when switching between forms or applications.
When switching 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.
The use of the OnEnter event is not available for the Label component.
See also: