I\'m wondering so when I change state of CheckBox
CheckBox->Checked=false;
It calls CheckBoxOnClick Event , how to avoid it ?
try this way:
Checkbox.OnClick := nil; try Checkbox.Checked := yourFlag; finally Checkbox.OnClick := CheckboxClick; end;