Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relaseing Instantiated classes
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00131909
Message ID:
00131914
Views:
20
Mike,
I always put a destroy method in any custom object I build.
You only need to x = .null. and the destroy method automatically fires.
In the destroy you can release anything if you need to. Many times mine is simply blank or I release procedure files etc if they weren't loaded upon entry.

Robert

>This maybe an easy one: If I use
>
>x=createobject('classx')
>
>How can I program classx to
>
>release x
>
>If 'x' isn't always named 'x'
Previous
Reply
Map
View

Click here to load this message in the networking platform