General information
Category:
Forms & Form designer
I'm not sure what alternative ways you provide for your users to close the form, but I suspect that the ReleaseType property may be what you're looking for.
It is set to 0 if you release the variable to which the form is scoped, 1 if closed from a close box, 2 if your quit VFP.
Hope this helps ...
>If I make a form "closeable" how do I know if that's how the user has closed a form.
>
>Best way I can see is to create a property called lActivelyClosed and my close buttons set this to .T. and then my destroy event runs some code if it's .F.
>
>Or have I missed something, it was late at night when I was researching this...
>
>Thanks
>
>Sarah
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