Method DataRef():undo() Foundation

Cancels the last edit operation

Syntax
:undo() --> lSuccess
Return

This method returns the value .T. (true) when the edit operation could be cancelled, otherwise it returns .F. (false).

Description

The method :undo() cancels an edit operation. The value assigned to the edit buffer of an Xbase Part by this method is either the return value of the code block contained in the instance variable :undo or the value contained in :undoBuffer, if :undo does not contain a code block.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.