Disable/enable an individual radio button of a RadioGroup
Posted on May 25th, 2008 by Groundware
source : http://www.festra.com
The following code shows how to disable or enable an individual radio button in a TRadioGroup component, the second radio button in our example. Note that the RadioGroup.Controls is a zero based array.
procedure TForm1.Button1Click(Sender: TObject);
begin
TRadioButton(RadioGroup1.Controls[1]). Enabled := False;
end;
Filed under: Uncategorized