Subject Re: [IBO] IB_Edit.OnChange events active in all forms all the time ?
Author Geoff Worboys
> I made some tests and it apears that the events "onchange" of all
> the IB_Edits used in any forms are active all the time, since the
> corresponding datasets are actives.

This is true (and not just for IB_Edits, but all controls) and it can
be the cause of many problems. I had to do some strange contortions
in some of my enh components to get around this issue. (If you ever
try the Enh stuff you will find that all controls based on EditEnh
have DisableChangeEvent/EnableChangeEvent procedures for exactly this

This is not really a reason "not to use datamodules". It mostly
causes problems with component writing. With application writing you
can usually get around the problem fairly easily by changine the order
in which modules are loaded or by checking if the module/form is
assigned in the event before starting your process.

Geoff Worboys
Telesis Computing