Change checkbox without firing OnChange in firemonkey


There are various tricks in the VCL world to set a checkbox state with out triggering a change event, for example:

yourCheckBox.Perform(BM_SETCHECK, 1, 0)

Or less elegantly removing the event, change the state and restoring the event.

My question is, are there any recognized methods to change the state of a checkbox in firemonkey without causing an OnChange event?

Comments are closed.