Undo([Steps: Integer = 1]);
Undo(Steps: Integer);
Steps. Number of canceled steps. The default value for the parameter is 1.
The Undo method cancels a defined number of completed actions. If the parameter has not been defined, the method will cancel the last completed action.
Executing the example requires an existing ws object of the IWxWorkspace type.
Sub UserProc;
Var
ws: IWxWorkspace;
Begin
ws.Undo(ws.UndoNumSteps);
End Sub UserProc;
Executing this example will cancel all available actions.
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.Undo(ws.UndoNumSteps);
End Sub UserProc;
Executing the example will cancel all available actions.
See also: