ITabView.UndoEnabled

Syntax

UndoEnabled: Boolean;

Description

The UndoEnabled property determines whether the table changes should be fixed in the undo stack.

Comments

By default fixing of all the actions is enabled. When fixing of changes is disabled, the existing operations are not deleted.

Example

Sub Macro;
Var
    Rep: IPrxReport;
    Tab: ITabSheet;
    View: ITabView;
Begin
    Rep := PrxReport.ActiveReport;
    Tab := Rep.ActiveSheet.Table;
    View := Tab.View;
    View.UndoEnabled := False;
    View.FlushUndo;
End Sub Macro;

This example is a macro for a regular report. After the macro has been executed, fixing of all the table changes will be disabled. Operations currently stored in the clipboard will be deleted.

See also:

ITabView