Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy Method not firing
Message
From
04/01/2010 18:06:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Destroy Method not firing
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01442014
Message ID:
01442014
Views:
108
In the INIT method of a form I have
thisform.oDataClass = NEWOBJECT("class",library)
DO CASE
   CASE somethin
         some code
   CASE something else
         some else code
   OTHERWISE
         different code
ENDCASE

RETURN .F.
When I trace the code I can see everything executing properly.

When the RETURN statment is fired the oDataClass.Destroy method is the next one executed.

There is no code in the Destroy method for this form, but there is code in the form's base class. But the form's Destroy method never seems to get executed. Is there something here that prevent's the form's Destroy method from executing?

Thanks...........Rich
Next
Reply
Map
View

Click here to load this message in the networking platform