[DUG] Procedure run from main program

Marshland Engineering marshland at marshland.co.nz
Wed Oct 12 11:10:05 NZDT 2016


When I put it in the interface unit, it added a uses statement before it with
the forms included in it and each time I compiled it added more and more bits
in. 

>Why not just put it in it's own unit (or a common utilities unit) and include
it in any form that needs it, rather than having it in the mainform
unit

I like this idea but not sure how to implement it and how to call it. 

Adding a blank unit, I have 

unit Unit1;

interface

implementation

end.

Thanks Wallace.




More information about the Delphi mailing list