This is what i have and it is not undoing: // Undo Mainform.ImageEnVect.Proc.ClearAllRedo; Mainform.ImageEnVect.Proc.SaveUndoCaptioned ('Apply Filter ' + IntToStr(Mainform.ImageEnVect.Proc.UndoCount)); Mainform.Undo_Btn.Hint := 'Apply ' + IntToStr(Mainform.ImageEnVect.Proc.UndoCount + 1); Mainform.ImageEnVect.Proc.SaveUndo(ieuImage); Mainform.ImageEnVect.IEBitmap.Assign(ImageEnView1.IEBitmap); Mainform.ImageEnVect.Update;
The undo button has this code: with ImageEnVect.Proc do begin SaveRedoCaptioned(UndoCaptions[0], ieuImage); // saves in Redo list Undo; ClearUndo; end; refreshUndoButtons;
When i do that, I get a blank image and not the original one i had before the assign command. Thanks for the help. Pierre