mybox.Checked := true;
Setting TRadioButton to checked (by code) causes OnClick event handler to be called.
How can I recognize if user is
mybox.Tag := 666; mybox.Checked :=true; mybox.Tag := 0; procedure myboxOnclick(Sender : TObject); begin if Tag = 0 then //Do your thing end;