Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relaseing Instantiated classes
Message
 
To
01/09/1998 11:26:08
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00131909
Message ID:
00132159
Views:
21
>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'

If you use AddObject(...) instead of CreateObject() then you will not have 'extra' objects when you close the form your object is on. If your object is the form itself, then Nancy's "Release this" becomes the simplest way.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform