Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing using the X
Message
From
12/09/1998 22:55:31
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00135867
Message ID:
00135896
Views:
8
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
Map
View

Click here to load this message in the networking platform