trichview.com

trichview.support




Undo problem


Return to index


Author

Message

Giuseppe Di Grande

Posted: 12/17/2004 16:56:27


Hi Serjei,

I register TRichView in november. Congratulation for the product. :-)

I have a problem with the "Undo" function in TRichViewEdit.


This is an example of code:


RVE.BeginUndoCustomGroup('Test');

RVE.SetUndoGroupMode(True);

RVE.SetItemText(0,'Just a test');

RVE.SetUndoGroupMode(False);


When I try to restore the original text of item 0 with


RVE.Undo;


the Undolist is refreshed, infact the UndoName is an empty string, but in

the editor page remains the "Just a test" string.


Can you help me?


Best regards


Giuseppe






Powered by ABC Amber Outlook Express Converter