def • invalid

invalid

Gambas objects can become invalid: they are not destroyed, but you cannot use them anymore.

Usually, an Object becomes invalid because its operation depends on another Gambas, or on another non-Gambas internal element, that was destroyed.

For example, if the user destroys a window by closing it, the corresponding Form or Window Object is not destroyed, but becomes invalid.

See also