Index
2011-04-04 12:53Jerry Foote : Calling another form from the destroy event
2011-04-04 13:28Tracy Pearson : RE: Calling another form from the destroy event
2011-04-04 13:34Jerry Foote : RE: Calling another form from the destroy event
Back to top
Calling another form from the destroy event

Author: Jerry Foote

Posted: 2011-04-04 12:53:32   Link

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

any problems.

Thanks Jerry

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

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/5E0CFA3CA4AB4FC58F9DF6BE04ED806F@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
Back to top
RE: Calling another form from the destroy event

Author: Tracy Pearson

Posted: 2011-04-04 13:28:04   Link

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

_______________________________________________

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/000301cbf2ed$a845aaa0$f8d0ffe0$@com

** 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 Tracy Pearson
Back to top
RE: Calling another form from the destroy event

Author: Jerry Foote

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

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