Or even (Self as TForm).Close for that matter.<br><br><div class="gmail_quote">2012/2/1 Rich Saunders <span dir="ltr"><<a href="mailto:saunders.richard.p@gmail.com">saunders.richard.p@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2/1/12 12:49 PM, Timothy Groves wrote:<br>
> However, the Form1.Close version did, and that's what I'm using. Thanks!<br>
</div>Tim-<br>
<br>
Note that using Self.Close; would be safer and much preferred over<br>
Form1.Close; when called within a TForm1 class method.<br>
<br>
It does not rely on the Form1 instance reference to be present and usable.<br>
<div class="HOEnZb"><div class="h5"><br clear="all"></div></div></blockquote></div><br>-- <br>Atenciosamente,<br>Alexsander da Rosa<br><a href="http://rednaxel.com" target="_blank">http://rednaxel.com</a><br>