CanUndo

Description

Tests whether Undo can reverse the most recent edit for an editable control.

Applies to

Any editable control (DataWindow, MultiLineEdit, SingleLineEdit, RichTextEdit)

Syntax

editname.CanUndo ( )

Returns

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.