Occurs when a component loses 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 OnExit
event occurs when a component loses the input focus. When the child component loses focus, the OnExit
event is first generated for the child component and then its parent component. The OnExit
event does not occur when switching between a form and another window.
You can create an event handler for the OnExit
event to perform specific actions when a component becomes inactive.
Parameters
The event has the following parameter:
Sender
Remarks
When the component loses focus, events occur in the following order:
OnExit
OnFocusChanged