General information
Category:
Coding, syntax & commands
Title:
On shutdown not working for top level
I have a top level form that runs modal. The vfp window is hiden in the config.fpw with screen = off. My problem is that when a user closes the app by clicking on the "x" in window the shutdown routine is not ran, leaving a copy of the executable behind running in memory.
If a user clicks on a quit button provided in form, on shutdown works properly.
I can always disable the form.closable property to avoid this, but I would rather keep this property enabled if possible.
Any ideas on a solution?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only