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

# TCustomTaskDialog.OnRadioButtonClicked

Event handler signalled when a radio button on the dialog has been clicked.

## Declaration

Source position: dialogs.pp line 838

`public property TCustomTaskDialog.OnRadioButtonClicked : TNotifyEvent read FOnRadioButtonClicked write FOnRadioButtonClicked;`

## Description

OnRadioButtonClicked is a TNotifyEvent property with the event handler signalled when a radio button on the task dialog has been clicked. It is signalled (when assigned) from the DoOnRadioButtonClicked method, and occurs after the value in RadioButton has been updated to reflect the button identifier clicked on the dialog form.

For native implementations using the Task Dialog API (supported Windows versions), it occurs when the TDN_RADIO_BUTTON_CLICKED notification is handled in the callback routine for the class instance. For emulated task dialog forms, it occurs when the corresponding event handler implementation for the LCL form instance is called.

## Version info

Added in LCL version 4.0.

## See also

TCustomTaskDialog.DoOnRadioButtonClicked |  | Sets the active radio button and signals the OnRadioButtonClicked event handler (when assigned).
TLCLTaskDialog |  | Implements an emulated (non-native) task dialog form.