Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture the exit (the X on the window) ?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01337531
Message ID:
01337548
Views:
8
>>I have a form that I don't want the user to be able to exit out of under certain circumstances. I tried the release() method an the destory() method, but I still seem to have an issue if they use the X to close the form. Anyone know the fix for this?
>>Thanks!
>
>Check QueryUnload EVENT:
>
>
>IF NOT some conditions
>   NODEFAULT
>   RETURN .f.
>ENDIF
>
aahh that DOES work!
I was forgetting the nodefault

thanks!
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform