Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error:1924 FORMS is not an object.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00090869
Message ID:
00090913
Views:
25
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform