Thisform.Release doesn't call QueryUnload. I think QueryUnload only gets called if you hit the X in the right hand corner of the form. Just have QueryUnload and the Exit button both call your Thisform.CloseEvent. Then have your Thisform.CloseEvent include the code Thisform.Release. I think that will do the trick.
-Adam
>On our application, we create a closeevent custom property to be called whenever we want to close a form. It seems that if using RELEASE THISFORM it does not call QUERYUNLOAD event automatically, and so, we used RELEASE WINDOW or CLEAR WINDOW instead. Are we using the right approach? As I know, RELEASE WINDOW and CLEAR WINDOW are FP native commands.
Previous
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