<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2>I 
would suggest that a more OO (and less form-<SPAN 
class=133360702-19052006>oriented</SPAN>) approach to this would be 
to&nbsp;<SPAN class=133360702-19052006>"set initial stuff up and then release 
stuff" in constructors and destructors, 
respectively.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=133360702-19052006></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=133360702-19052006>If you follow the one class = one unit ideal, then you 
could also look at the Initialization and Finalization sections as being "static 
constructors" or "type initializers/finalizers" to use generic OO and 
.NET&nbsp;terms respectively for what one generally uses these sections 
for.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=133360702-19052006></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=133360702-19052006>Maybe that's some use to 
somebody...</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=133360702-19052006></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=133360702-19052006>Conor</SPAN></FONT></FONT></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> delphi-bounces@ns3.123.co.nz 
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Paul A Norman<BR><BR>
<P><FONT face=Arial size=2>[snip]</FONT> </P></FONT>Otherwise I've used the 
<STRONG>onFormComplete</STRONG> and <STRONG>onDestroy</STRONG>&nbsp;to set 
intial stuff up and then release stuff. </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV>But I am guessing that <STRONG>Finailization</STRONG> is a better place to 
release stuff (<STRONG>help avoid memoery leakage under certain 
circumstances</STRONG>?), but <STRONG>Initialization</STRONG> would have to be 
used for <STRONG>Finalization</STRONG> to be acceptable..</DIV>
<DIV><BR>
<P><FONT face=Arial size=2>[snip]</FONT> </P></DIV></BODY></HTML>