TCustomRadioGroup.Buttons property
Provides indexed access to the radio buttons on the group box control.
Declaration
property Buttons[Index: Integer]: TRadioButton read GetButton;Description
Buttons is a
TRadioButton property which allows access to
a radio button on the group box by its ordinal position in Items.
Use ItemIndex to get the currently selected radio button on the group box.
For example:
AChecked := (AGroupBox.ItemIndex <> -1) and AGroupBox.Buttons[AGroupBox.ItemIndex].Checked;
Added in LCL version 4.0.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
