RE: Calling another form from the destroy event

Author: Jerry Foote

Posted: 2011-04-04 at 13:34:49

Thanks Tracy

I was not sure what might happen down the road..

I was thinking that the destroy fired after the unload and would be better.

I will use the unload.

Thanks Jerry

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf

Of Tracy Pearson

Sent: Monday, April 04, 2011 12:28 PM

To: profox@leafe.com

Subject: RE: Calling another form from the destroy event

Jerry Foote wrote on 2011-04-04:

> Can I call another form from the destroy event of a form without

> creating any problems.

>

> Thanks Jerry

>

Jerry,

It would be better to use the UNLOAD event. If the Form you are launching

has its own Error event it may stay active and cause your program to throw a

C0000005 when the called form errors. That is if the called form does not

have an Error event.

Tracy Pearson

PowerChurch Software

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/EAE073FA2188442EB6909F8387C5BB17@jerryfootePC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Jerry Foote