Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code in Destroy event not working
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Code in Destroy event not working
Miscellaneous
Thread ID:
00834381
Message ID:
00834381
Views:
69
I have the following code in Destroy event of a form:
Do MyPrg with thisform

In MyPrg:
Parameters oForm
wait window oForm.caption .......

Most of the time this works but the ODD occasion, an error comes up saying oForm is not an object. I cannot repilcate this myself on testing but it has happened a few times out on site !!!!

Is it possible for the Screen to be destroyed by the time the code is run ? or is there any other reason this would not work ?

Regards,

Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform