Sean Wilson wrote
>> I guess, I always believed "forget" to mean the same as "destroy", in
>> the sense that the forgotten object was actually internally
>> dismantled, as I do with my own objects during destruction, but this
>> seems not to be the case.
>
> I too was under this illusion.
Me three. I've been explicitly voiding the timeout's target now, and also
being extra careful in 'destroying' MIAWs.
I'm not sure if this is of any significance to Kerry's problem, but I've
noticed that returning the window reference seems create a new permanent
reference to the MIAW regardless of whether that returned reference was
being explicitly saved. In other words, doing this...
on mouseUp me
createMIAW()
end
on createMIAW
...
return window aWindow
end
-- would create a reference to the MIAW that would prevent it being
destroyed via forget()... or via a reference (since the reference is not
being explicitly stored somewhere). Simply returning the reference from a
function seems to create a pointer somewhere that keeps the MIAW alive and
impossible to destroy.
Luke
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]