On 3/30/21 2:19 PM, Roland Chastain wrote:
But how to manage memory in that case? I have a memory leak. I don't know how
to solve it. If you have an idea... Here is my project.
dynedit-memoryleak.zip
<http://mseide-msegui-talk.13964.n8.nabble.com/file/t51/dynedit-memoryleak.zip>
in the project make the following 3 changes:
change: dynedit.frame := tedit1.frame;
to: dynedit.createframe;
change: dynedit.frame := tcaptionframe.create(iscrollframe(self));
to: dynedit.createframe;
change: dynedit.face := tface.create(iface(self));
to: dynedit.createface;
after the frame and face are created you can then manipulate their
properties.
Patrick
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk