>Getting a C5 error when I release a form. On this form, there are container objects(pgfs) being added(addobject()) and removed(removeobject()) during runtime. Everything works fine until you release the form. I thought it might be a dangling object reference, but looking in the debugger I see the object references are being released. If I comment out the removeobject(), everything is fine again. It seems the removeobject is screwing something up and I can't figure out what it is.
Just a WAG, but you might try setting Visible = .F. (or .Hide for objects that pertain) first.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.