<doc>
	<legacy_id>1858</legacy_id>
	<name>undo</name>
	<type>command</type>

	<syntax>
		<example>undo</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Reverses the last user action.</summary>

	<examples>
<example>undo</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
		<web/>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category>User Interaction</category>
	</classification>

	<references>
		<command tag="delete">delete Command</command>
		<command tag="copy">copy Command</command>
		<command tag="redo">redo Command</command>
		<message tag="undoChanged">undoChanged Message</message>
	</references>

	<description>Use the <b>undo</b> command to give the user an opportunity to reverse a horrible mistake.<p></p><p><b>Parameters:</b></p><p>The <b>undo</b> <glossary tag="command">command</glossary> <glossary tag="undo">undoes</glossary> the last action performed by the user. Undoable actions include:</p><p>&#9;* Using the paint tools</p><p>&#9;* Deleting controls by selecting them with the Pointer tool and pressing Delete</p><p>&#9;* Moving controls with the Pointer tool</p><p>&#9;* Editing actions (such as typing, cutting, and pasting) in a field</p><p></p><p>The <b>undo</b> <glossary tag="command">command</glossary> cannot be used to <command tag="undo">undo</command> actions performed by a <property tag="script">script</property>. Only user actions can be undone. For example, if you use a <property tag="script">script</property> to change the text in a <keyword tag="field">field</keyword>, the <b>undo</b> <glossary tag="command">command</glossary> cannot reverse that change, but if the user edits text, you can use <b>undo</b> to reverse the action.</p><p></p><p>If you use the <b>undo</b> <glossary tag="command">command</glossary> twice in succession, the second <b>undo</b> <glossary tag="undo">undoes</glossary> the first one.</p><p></p><p>The <b>undo</b> <glossary tag="command">command</glossary> is equivalent to choosing Edit menuUndo<important>.</important></description>
</doc>