IPivot.IsUndoAvailable

Syntax

IsUndoAvailable: Boolean;

Description

The IsUndoAvailable property returns whether operations that can be canceled exist.

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for TabSheetBox.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

OLAP: IEaxAnalyzer;

Pivot: IPivot;

Begin

OLAP := UiErAnalyzer1.ErAnalyzer;

Pivot := OLAP.Pivot;

If Pivot.IsUndoAvailable Then

Pivot.Undo;

End If;

End Sub Button1OnClick;

After executing the example clicking the button cancels the last executed operation on the express report table, if there is such.

See also:

IPivot