Sent to the current card when the Undo action changes.
# Metadata
Platforms: desktop OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
undoChanged
# Examples
on undoChanged global lastFieldState put field "Edit" into lastFieldState end undoChanged
# Description
Handle the undoChanged message if you want to intercept the "Undo" menu item, providing your own Undo stack.
Undoable actions include painting actions, deletion of objects, moving of controls, and editing actions in a field. When the user performs one of these actions, thus changing what happens as a result of choosing Edit ? Undo from the menubar, LiveCode sends the undoChanged message to the current card.
# Tags
ui,
# See
- **command:** undo - **glossary:** current card, message