I don't like the fact that the OnClick event fires when the Checked property is set to True. If the checkbox is changed programmatically (like reading from a database), then I don't want OnClick to fire.
All truth be told, I want to do something when a user clicks a TDBCheckBox and do nothing when a field value checks it on or off from a database read from a TADOTable. I wish TDBCheckBox would use the State property (cbChecked, cbUnchecked), because that doesn't fire an event.
Anyway, what event do I listen to? Something in TADOConnection or the TADOTable? Please don't tell me I have to create a descendent from TDBCheckBox; I'd like to just use Delphi's components as is, if that's okay.