Siluro |
Posted - Jun 11 2015 : 02:53:22 Hi,
I'm using TImageEnVect for a WYSIWYG page designer. For each object on the page I insert a bitmap object. For the data that I need for each object, I've created a custom class TUserData. Each bitmap object (ObjUserData) therefore has an instance of TUserData. When I remove an object from the canvas, I free the instance of TUserData.
So far everything works great but when I run proc.undo, I have an instance of TUserData in memory for each affected bitmap object and don't know how to free.
Maybe I'm just too blind to find the solution. Would be grateful for any help.
Best regards
Björn |