Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defensive programming...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00665394
Message ID:
00665640
Views:
27
>>>Thanks - returning .f. does the trick to a degree but I really want to clear events as well so that the program closes - it doesn't seem that clear events can be called in the load event of a form or it doesn't appear to be taken notice of! I step through my code and the return .f. brings me back to my read events command (even if I issue clear events just before return .f. Any ideas? and thanks again
>>
>>Try putting 'clear events' in the form.destroy method.
>
>I'm not sure that will work, Patrick -- because I don't think the Destroy() fires if the form hasn't actually been created.
>
>He -might- try the form's Unload() method, however...that should fire regardless.


I was wondering that after I wrote the message. I hadn't tested it. I was hoping he would have responded by now with results. *GRIN*

pat.
Patrick L. Stovall
Senior Architect/Developer
MCP - C#

VeroQuest
P.O.Box 7216
Kalispell, MT 59904
Previous
Reply
Map
View

Click here to load this message in the networking platform