[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TCustomRadioGroup.OnItemExit

Event handler signalled when a radio button in the group loses focus.

## Declaration

Source position: extctrls.pp line 780

`public property TCustomRadioGroup.OnItemExit : TNotifyEvent read FOnItemExit write FOnItemExit;`

## Description

OnItemExit is a TNotifyEvent property which implements an event handler signalled when a radio button in the group loses focus. It occurs when the value in ItemIndex is changed. The Sender argument contains the radio button which has been de-selected in the control. An application must implement and assign an object procedure to the property to respond to the event notification.

OnItemExit is signalled from the ItemExit method (when assigned).

Remark: | OnItemExit was added in LCL version 2.2, and should be used in place of the OnExit event handler. This change is Delphi compatible.

## Version info

Added in LCL version 2.2.0.

## See also

TRadioButton.OnExit |  | Event handler signalled when the control loses focus.