RedoAction(Index: Integer): String;
Index. Index of the operation, which can be repeated.
The RedoAction property returns the name of the operation, which can be repeated. The index of the operation is passed as the Index parameter.
Sub Macro;
Var
Rep: IPrxReport;
Tab: ITabSheet;
View: ITabView;
i: Integer;
s: String;
Begin
Rep:=PrxReport.ActiveReport;
Tab:=Rep.ActiveSheet.Table;
View:=Tab.View;
i:=View.RedoCount;
s:=View.RedoAction(View.RedoCount-1);
WinApplication.InformationBox(i.ToString+" "+s);
End Sub Macro;
This example is a macro for a regular report. After the macro has been executed, an information message will be displayed, containing the number of operations and the name of the last operation, which can be repeated.
See also: