<doc>
  <legacy_id>1477</legacy_id>
  <name>undoChanged</name>
  <type>message</type>
  <syntax>
    <example>undoChanged</example>
  </syntax>
  <library></library>
  <objects>
    <card/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <command tag="undo">undo Command</command>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Sent to the <glossary tag="current card">current card</glossary> when the Undo action changes.</summary>
  <examples>
    <example>on undoChanged</p><p>  global lastFieldState</p><p>  put field "Edit" into lastFieldState</p><p>end undoChanged</example>
  </examples>
  <description>
    <p>Handle the <b>undoChanged</b> <keyword tag="message box">message</keyword> if you want to intercept the "Undo" menu item, providing your own Undo stack.</p><p/><p><b>Comments:</b></p><p>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 <code/><b>Edit menu<img src="202656"/>Undo</b><code/>, LiveCode sends the <b>undoChanged</b> <keyword tag="message box">message</keyword> to the <glossary tag="current card">current card</glossary>.</p>
  </description>
</doc>