Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.DoOnRadioButtonClicked procedure

Member of TCustomTaskDialogprotectedIn unit Dialogs

Sets the active radio button and signals the OnRadioButtonClicked event handler (when assigned).

Declaration

pascal
procedure DoOnRadioButtonClicked(ButtonID: Integer); dynamic

Arguments

ButtonID

Index value for the radio button locates and signalled in the method.

Description

No actions are performed in the method if OnRadioButtonClicked has not been assigned.

Calls SetRadioButtonFromRadioIndex to set RadioButton to the control at the position specified in the ButtonID argument. RadioButton is set to Nil if ButtonID is not a valid position in RadioButtons.

DoOnRadioButtonClicked is called from the private OnRadioButtonClicked method in the TLCLTaskDialog class when an emulated task dialog is used for the platform.

OnRadioButtonClicked is a property in TCustomTaskDialog and a method in TLCLTaskDIalog. Confusing...

Added in LCL version 4.0.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.