I made some GUI-object, need to add some free-up method:
Method Free()
End Method
I figure I can kill the created gadgets easily with:
Method Free()
canvas=null
button=null
gccollect()
End Method
However, how do I get rid of the eventhook for this object? The manual is as zero'ish as it is ever:
Function RemoveHook( id,func:Object( id,data:Object,context:Object ) )
I figure 'id' could be 'self' ? And what is that func stuff/how to use it?
Method Free()
End Method
I figure I can kill the created gadgets easily with:
Method Free()
canvas=null
button=null
gccollect()
End Method
However, how do I get rid of the eventhook for this object? The manual is as zero'ish as it is ever:
Function RemoveHook( id,func:Object( id,data:Object,context:Object ) )
I figure 'id' could be 'self' ? And what is that func stuff/how to use it?