undo | |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Reverses the last user action. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, mobile |
Example |
|
Related | Command: copy, delete, redo Message: undoChanged |
Description | The undo command undoes the last action performed by the user. Undoable actions include:
The undo command cannot be used to undo actions performed by a script. Only user actions can be undone. For example, if you use a script to change the text in a field, the undo command cannot reverse that change, but if the user edits text, you can use undo to reverse the action. If you use the undo command twice in succession, the second undo undoes the first one. The undo command is equivalent to choosing Edit menuUndo. Use the undo command to give the user an opportunity to reverse a horrible mistake. |
Tags | ui |