I have a group of about 10 radio buttons. My button click method checks which one is checked, e.g.
I like having neat code and this way is messy.
Is there a way you can use a case statment like in VB, e.g.
Thanks in advance,
Adam
------------------------------------
There's no place like 127.0.0.1
------------------------------------
Code:
if RadioButton1.checked then
begin
....
end
else if RadioButton2.checked then
begin
....
end
else ....
Is there a way you can use a case statment like in VB, e.g.
Code:
Select Case Checked
Case is RadioButton1
case ...
Thanks in advance,
Adam
------------------------------------
There's no place like 127.0.0.1
------------------------------------