[Lazarus] OOP basics - 2

Kjow antispammoni at gmail.com
Wed Apr 14 16:38:49 CEST 2010


2010/4/14 Paul Ishenin <webpirat at mail.ru>:
> 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




More information about the Lazarus mailing list