Thank you very much for this advice! I had a similar problem and finally got it right after reading this.
>There's no problem holding object references in properties. You just need to tidy up in the DESTROY, which I find to be very easy. My rule is this: if I design a class to have a property that will contain an object reference I first add the property, document it, then immediately add code to the class destroy that sets the property to .NULL. I never have any problems with forms releasing and I rarely have c0..5 errors.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only