Occurs when a component receives the input focus.
Declaration
Sender | [in] | Required | Variant |
Applies To
The property applies to the following components:
TcxButton, TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxComboBox, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxListBox, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit, TPanel
Description
The OnEnter
event occurs when a component receives the input focus. When the child component gets focus, the OnEnter
event is first generated for the parent component and then for the child component. The OnEnter
event does not occur when switching between a form and another window.
You can create an event handler for the OnEnter
event to perform specific actions when a component becomes active.
Parameters
The event has the following parameter:
Sender
Remarks
When the component becomes active, events occur in the following order:
OnDblClick
OnClick
OnFocusChanged
OnEnter