2
Every time we work on Datamodule on the connection component, we activate to do tests and the like. It turns out that if we forget to disable when we compile, it can give error when we send to the client due to the IP or user and password being different in development and production.
I use the component TZConnection from Zeos, but I think that goes for everyone.
I wonder if you have a way to disable the component before or on onCreate of form. I’ve seen that at the event onCreate does not help, because it activates the connection even before the onCreate.
So @Leonardo Maciel, I decided to deal with the component’s Beforeconnect, so it doesn’t matter if I forget how Active, because I know the settings before it connect.
– Marcelo