TCustomTaskDialog.SetRadioButtonFromRadioIndex procedure
Makes the radio button with the specified identifier the active RadioButton on the task dialog.
Declaration
procedure SetRadioButtonFromRadioIndex(AIndex: Integer)Description
SetRadioButtonFromRadioIndex is a method used to make the radio
button specified in
AIndex the active (or default) RadioButton on
the task dialog.
AIndex is an Integer value which contains the button identifier for
the radio button (not its ordinal position) selected from the RadioButtons on
the dialog. The TTaskDialogButtons instance with the specified identifier is
stored in the RadioButton property. RadioButton may be set to
Nil if
AIndex is not in the valid range for radio buttons starting at
TaskDialogFirstRadioButtonIndex, or RadioButtons does not contain the
identifier.
SetRadioButtonFromRadioIndex is called from methods like DoExecute and DoOnRadioButtonClicked.
Added in LCL version 4.0.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
