[Gambas-user] Class destructor
Ricardo Díaz Martín
oceanosoftlapalma at ...626...
Tue Nov 16 17:18:15 CET 2010
Hi,
Is possible in gambas3 set a sub that will be fire when you set the object =
null?
I got a gambas class for loading big quantity of data in a gridview in
dynamic mode (using the Data event). In this class, I got some "New"
sentences that be manually cleaned by a public sub. I want to simply set the
object to null and the "cleaner sub" runs.
I was searching in gabasdoc for "destructor", "constructor", "class"... I
found this http://gambasdoc.org/help/lang/special but there isn't anything
like _unload
Thanks in advance,
Ricardo Díaz
More information about the User
mailing list