Tests whether Undo can reverse the most recent edit for an editable control.
Any editable control (DataWindow, MultiLineEdit, SingleLineEdit, RichTextEdit)
editname.CanUndo ( )
Boolean. Returns true if the last edit can be reversed (undone) using the Undo function and false if the last edit cannot be reversed. If editname is null, CanUndo returns null.