>>>Where does the clearing of items in a collection occur? See code sample:
>>>oCol=createobject('clsCollection')
>>>oCol.Add(createobject('form'))
>>>?oCol.Count
>>>
>>>define class clsCollection as collection
>>> procedure destroy
>>> ? this.count
>>> endproc
>>>enddefine
>>
>>When I run that code in VFP8, the Destroy method prints out 1, rather than 0, as you seem to indicate above.
>
>Weird, I tried it on my home PC running Win XP and both ? displayed 1. I have Win2K
>at work where the problem manifested. What OS version are you running the sample?
XP, like your home box. If I can get my hands on a Win2K box, I'll try it there as well.