General TRichView support forum. Please post your questions here
jota
Posts: 48 Joined: Fri Sep 16, 2011 10:56 am
Post
by jota » Mon Jun 29, 2015 10:00 am
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 » Mon Jun 29, 2015 4:20 pm
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 » Tue Jun 30, 2015 9:52 am
Hi
Thanks for your solution