Hi Leigh, On 5 July 2010 14:54, Leigh Wanstead <lei...@softtech.co.nz> wrote: > Hi Colin, > > I am constantly refactoring code, but sometimes the form unit just grows > bigger and bigger. > > Regards > Leigh > -----Original Message-----
The amount of code shouldn't bother you. What matters is that the code is in manageable and maintainable chunks. If your form unit is growing then you definitely have a problem of embedding your business code with your UI code. This article isn't strictly about Delphi but it was an inspiration for me with regards to not junking my forms with "business" code. Its simplistic but the idea behind it is good. The Humble Dialog box www.objectmentor.com/resources/articles/TheHumbleDialogBox.pdf Cheers, Colin _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe