>I have had similiar object references getting lost. For example in the following code the RemoveObject will fail once in a while--object reference is not found, or similiar message. However, it is **very** rare, and I can never repoduce it.
>
>=AMEMBERS(gaPropArray, THISFORM, 2)
>
>* Loop through the array of name objects
>FOR i = 1 TO ALEN(gaPropArray,0)
> * Check if the container screen is already defined
> IF UPPER(ALLTRIM(gaPropArray[i])) = "CNTSCREEN"
> * The container screen object is defined, so remove it
> THISFORM.RemoveObject("CNTSCREEN")
> ENDIF
>ENDFOR
>
This may be similar to releasing all forms in a loop... try to scan the array FOR i = ALEN(gaPropArray,0) TO 1 STEP -1, or to recreate the array every time you remove an object and start over again.