Purpose
This method sets the text of the Undo and the name of the procedure that’s run if you choose the Undo command (Edit menu) after running the procedure that sets this property.
Syntax
OnUndo(Text, Procedure)
Required Parameters
Text
The text that appears with the Undo command (Edit menu).
Procedure
The name of the procedure that’s run when you choose the Undo command (Edit menu).