IsRedoAvailable: Boolean;
The IsRedoAvailable property returns whether operations that can be repeated exist.
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.IsRedoAvailable Then
Pivot.Redo;
End If;
End Sub Button1OnClick;
After executing the example clicking the button repeats the last, previously canceled, operation on the express report table, if there is such.
See also: