Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object References
Message
From
21/02/2001 09:28:23
 
 
To
20/02/2001 19:37:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00477858
Message ID:
00477934
Views:
22
Larry,

if you set an object's reference to .NULL., you will release the object (unless another object is holding a reference to it). If you have an object property which is an array, and which contains references to objects, then you have to do loop through the array, doing myArray(i) = .NULL. (as you describe). I found this out the hard way, with a form that refused to release. It's not enough just to let the array go out of scope.

Further to Mike's references, there's an excellent article in FoxTalk by Doug Hennig, which describes the problem you mention. Here's the link :
http://msdn.microsoft.com/library/periodic/period99/html/10ft/FT99J8.HTM

Best wishes,
Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform