PowerBuilder Tips
Terminating an MDI/PFC application
If you've used PFC for a bit, then you'll know that File/Exit invokes the gnv_App::pfc_Exit event. I've also seen a few postings about File/Exit being different from "Control Menu"/Close or clicking on the 'x'. And after some thought and experimentation, I've concluded that this is an issue which people should be aware of.
What is important to know, is that *unless* File/Exit is used, the pfc_exit event is *not* invoked. This may have important side effects on your application, depending on what it should be doing during the close down process.
In light of the above points, I've just coded "gnv_App.Post Event pfc_Exit" into my frame::close event. Now I'm wondering, what have other people done regarding this issue?
Granted, in some circumstances, it's not worth worrying about.
[ About | Services | Products | Search | Feedback | Support ]
This page last updated: Wednesday, 23 February 2000 |