[Gambas-user] Delete an object

Rob Kudla sourceforge-raindog2 at ...94...
Sat Apr 1 19:03:37 CEST 2006


On Sat April 1 2006 09:31, Almanova Sistemi wrote:
> I delete a text area (TextArea.Delete). The on-line help says:
> Note that a destroyed control becomes an invalid object.
> How can I delete an object whitout an invalid object as
> result?

You can assign null to the object reference, but either way it's 
going to throw an error if you access it without checking it 
first with isObject or something....

Rob




More information about the User mailing list