Change CheckBox state without calling OnClick Event

后端 未结 8 1735
时光取名叫无心
时光取名叫无心 2021-01-04 06:35

I\'m wondering so when I change state of CheckBox

CheckBox->Checked=false;

It calls CheckBoxOnClick Event , how to avoid it ?

8条回答
  •  旧时难觅i
    2021-01-04 06:53

    CheckBox.State := cbUnchecked; works in Delphi, this doesn't fire onClickEvent AFAIK

提交回复
热议问题