Mark and George,
That might be the key the one main form releases any others if they are open, so I think it might be going out from under my shutdown code depending on which order things appear in the array.
A couple of more tests in there should clean things up.
Thanks for pulling my head out of the sand.
>What if Forms are released, then the _Screen:Forms[] array would still keep the pointer but the form object would be a null value. This happens (I think) when you release a form that is not the last that was created.
>
>I think.
>
>But it is easy to find a way around that: if type(_... (spare me the typing please)°<>"O" or testing the .null. value.