2010/4/14 Paul Ishenin <[email protected]>: > Why not to move init to the TForm1? > > Such problems are often happen when either you don't own a piece of code and > therefore can't modify it or your code is designed bad.
It is simply a trivial example :) It is at the base of an idea to make a "general" unit that can be used between more projects, so I want avoid to make copy/paste everytime the same functions. Often I forgot something... with a "generic" unit that initialize some "standard things" I can do it easily. Best Regards, Kjow -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
