Undo/Redo length

General TRichView support forum. Please post your questions here
Post Reply
jota
Posts: 48
Joined: Fri Sep 16, 2011 10:56 am

Undo/Redo length

Post by jota »

Hello

How I can know number of undo or redo operations i can recover at a given time?

Thanks in advance
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

There are no documented methods for this.
But you can use
TRVEditRVData(RichViewEdit1.RVData).UndoList.Count
TRVEditRVData(RichViewEdit1.RVData).RedoList.Count
jota
Posts: 48
Joined: Fri Sep 16, 2011 10:56 am

Post by jota »

Hi

Thanks for your solution
Post Reply