FlushUndo;
The FlushUndo method clears the list of all the operations, performed by the user. After the method is called, all the undo and redo operations will be deleted.
Sub Macro;
Var
Rep: IPrxReport;
Tab: ITabSheet;
View: ITabView;
Begin
Rep:=PrxReport.ActiveReport;
Tab:=Rep.ActiveSheet.Table;
View:=Tab.View;
View.FlushUndo;
End Sub Macro;
This example is a macro for a regular report. After the macro has been executed the list of all performed operations will be cleared.
See also: