Undo Method 170

Applies To: Grid

Description

This method is used to undo the previous change in a Grid object.

The Grid object maintains a buffer of the most recent 8 changes made by the user since the Values property was last set by ⎕WC or ⎕WS.

Your application can restore these changes one by one by calling the Undo method on the Grid. The Undo method restores the most recent change made by the user and removes that change from the undo stack.

It is therefore not possible to "undo an undo".

The argument to Undo is , or a single item as follows :

[1] Number of changes integer

If called with an argument of , the default value for the Number of changes is 1. This restores the most recent change.