method Schedule.RedoRemoveAction ([Action as Variant], [Count as Variant])
Removes the last redo actions that can be performed on the control.

TypeDescription
Action as Variant [optional] A long expression that specifies the action being remove. If missing or -1, all actions are removed. 

The Action parameter can be one of the following:

  • exUndoRedoAddEvent(13) ~ "AddEvent;EVENTID", indicates that a new calendar-event has been created
  • exUndoRedoRemoveEvent(14) ~ "RemoveEvent;EVENTID", indicates that an calendar-event has been removed
  • exUndoRedoMoveEvent(15) ~ "MoveEvent;EVENTID", indicates that an calendar-event has been moved or resized
  • exUndoRedoUpdateEvent(16) ~ "UpdateEvent;EVENTID", indicates that one or more properties of the calendar-event has been updated, using the StartUpdateEvent / EndUpdateEvent methods

For instance, RedoRemoveAction(13) removes only AddEvent actions from the redo stack.

Count as Variant [optional] A long expression that indicates the number of actions to remove. If missing or -1, all actions are removed. For instance, RedoRemoveAction(12,1) removes only the last AddEvent action from the redo stack
The RedoRemoveAction method removes the first action to be performed if the Redo method is invoked. Use the RedoRemoveAction() ( with no parameters ) to remove all redo actions. Use the UndoRemoveAction method to remove the last action from the undo queue. The AllowUndoRedo property enables or disables the Undo/Redo feature. The UndoListAction property lists the Undo actions that can be performed in the control. The RedoListAction property lists the Redo actions that can be performed in the control. The LayoutStartChanging(exUndo/exRedo) / LayoutEndChanging(exUndo/exRedo) event notifies your application whenever an Undo/Redo operation is performed.

The records of the Undo/Redo queue may contain actions in the following format:

Also, the Undo/Redo queue may include: