ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEUseLegacyUndoFunctionality Compile Error
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

spurgeon

54 Posts

Posted - May 24 2016 :  08:55:02  Show Profile  Reply
With 6.3.0, enabling IEUseLegacyUndoFunctionality in ie.inc causes a compile error:

[dcc32 Error] imageenproc.pas(3473): E2003 Undeclared identifier: 'fRedoCaptions'

fRedoCaptions.Objects[fRedoList.Count - 1] := Pointer(iIndex);

I'm not using captions, so is it safe just to comment out this line? A speedy response is appreciated as we're nearing the end of our dev timeline.

spurgeon

54 Posts

Posted - May 24 2016 :  10:10:55  Show Profile  Reply
I wrongly thought that the Undo/Redo update to 6.3.0 was more extensive than it was, causing my undo/redo implementation to break, so I enabled IEUseLegacyUndoFunctionality. Instead, I found that only removing my ClearUndo() after calling Undo() has fixed this issue, as stated in the docs:

"In v6.2.1 and older versions, AutoRedo did not remove the undone item from the Undo List. From v6.3.0, AutoRedo clears the entries.
To return to the older functionality, enable the IEUseLegacyUndoFunctionality define in ie.inc"

The compile error still may be something you want to look into.
Go to Top of Page

xequte

38978 Posts

Posted - May 24 2016 :  18:09:00  Show Profile  Reply
Thanks, we have fixed this define for 6.3.1

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: