Al my forms are related to a base form.
I have a datamodule with one TSQLQuery on it. Creating a new datamodule with this base gives me an copy of TSQLQyery. Now I put anothr TSQLQuery on datamodule. By events I link the methods of the TSQLQuery in the base datamodule. But when compiling the application, the links of the methods are removed in my just created TSQLquery.
This is only when the option 'Auto remove empty methods' is set.
On Delphi empty methods is standard, but doesn't remove the link.
I also tested with option 'Auto remove empty methods' is set off. I removed the empty events manually. save the application. Now it give me an option if I still want to keep the links. If I say yes, the links of the metods are still available.