Topic: 4 Checkboxes, have only 1 selected
Hello, i have 4 checkboxes and I only want to be able to select 1 of the 4. So if i select checkbox 1 then I select checkbox 2, checkbox 1 will automatically deselect.
here is the project attached. i wrote a seperate 'Onclick' for each checkbox but i cant get it to work, any ideas?
\\sample procedure
procedure Two_form2_CheckBox2 (Sender: TObject);
begin
Sleep(300);
form2.Checkbox1.State := cbUnchecked;
form2.CheckBox3.State := cbUnchecked;
form2.CheckBox4.State := cbUnchecked;
end;