OnEnter

Syntax

Sub OnEnter(Sender: Object; Args: IEventArgs);

Begin

//set of operators;

End Sub OnEnter;

Parameters

Sender. Parameter that returns the component, generated an event

Args. Parameter that allows to determine the event parameters.

Description

The OnEnter event occurs when a component gets focused.

Comments

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:

IControl