Search code examples
delphidatabase-connectiondelphi-7vcl

Method in Delphi to set database connections to disconnected upon compile


Is there a method or compiler directive or some way of assuring certain components, such as queries or database connections get set to active=false or disconnected when you run a build/compile? Seems so often these are turned on by something else and you don't notice it until its too late.

My particular install is Delphi 7


Solution

  • The Set Component Properties feature of GExperts is able to do that.