>>What's the proper way to release an object? For example, if I :
>>x=Createobject('myobject') where myobject is a class based on the
>>cutom class (and thus, has no Release method built in)? x.Destroy()
>>doesn't work since destroy is an even. I hate using Release x.
>
>Would you like AddObject - RemoveObject?
Well, I suppose this would do the trick. I was more thinking about when I'm
creating the object from a prg, usually for testing purposes. Even when I am
testing I like to do things cleanly. So, when I create an object I would like
that object to be able to release itself. Whether it is a built in release
like that for forms, or if I have to create my own release. I guess my
question should be, how do I create a release method that will release the
object from memory? Just putting 'release this' in the method doesn't work...
then again maybe it is just obvious and everyone is looking at me funny
because it's one of those days...;).