IWxWorkspace.Redo

Fore Syntax

Redo([Steps: Integer = 1]);

Fore.NET Syntax

Redo(Steps: Integer);

Parameters

Steps. Number of steps. The parameter is equal to 1 by default.

Description

The Redo method repeats the defined number of canceled actions. If the parameter has not been defined, the method repeats the last canceled action.

Fore Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;
Var
   ws: IWxWorkspace;
Begin
   ws.Redo(ws.RedoNumSteps);
End Sub UserProc;

After executing the example all available actions are repeated.

Fore.NET Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Andy;

Public Sub UserProc(Params: StartParams);
Var
   ws: IWxWorkspace;
Begin
   ws.Redo(ws.RedoNumSteps);
End Sub UserProc;

After executing the example all available actions are repeated.

See also:

IWxWorkspace | WxWorkspace.UndoEnabled