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:
00665621
Views:
22
>>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.
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform