Category:Undo: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
SET_UNDO <undo type>
[[Main_Page|{{Up}}]]
<br><undo type> may be one of the following
{{Command|syntax=SET_UNDO <undo type>
{|
|description=:Set an undo state to return to if the user presses <ctrl> Z. You must specify what type of changes you would like to be able to undo, this is controlled by the <undo type> parameter.
| align="left" |*[[TOOL_NEW]]
 
|-
|param1=<undo type>|param1_desc=One of the following
| align="left" |*[[TOOL_DEL]]
:* [[TOOL_NEW]]
|-
:* [[TOOL_DEL]]
| align="left" |*[[TOOL_MOVE]]
:* [[TOOL_MOVE]]
|-
:* [[OP_NEW]]
| align="left" |*[[OP_NEW]]
:* [[OP_DEL]]
|-
:* [[OP_MOVE]]
| align="left" |*[[OP_DEL]]
:* [[PROC_NEW]]
|-
:* [[PROC_DEL]]
| align="left" |*[[OP_MOVE]]
:* [[PROC_MOVE]]
|-
:* [[WG_NEW]]
| align="left" |*[[PROC_NEW]]
:* [[WG_DEL]]
|-
:* [[WG_MOD]]
| align="left" |*[[PROC_DEL]]
:* [[CS_NEW]]
|-
:* [[CS_DEL]]
| align="left" |*[[PROC_MOVE]]
:* [[CS_MOD]]
|-
}}
| align="left" |*[[WG_NEW]]
 
|-
===Example===
| align="left" |*[[WG_DEL]]
:SET_UNDO WG_MOD
|-
:SET_UNDO CS_MOD
| align="left" |*[[WG_MOD]]
<br>
|-
:This sets two undo states, for WG_MOD (modifications to the workgroup) and CS_MOD (modifications to the CS). If the user presses <CTRL>z, then any changes to the WorkGroup and/or CS will be undone, but other changes (such as creating a new operation) will not be undone.
| align="left" |*[[CS_NEW]]
|-
| align="left" |*[[CS_DEL]]
|-
| align="left" |*[[CS_MOD]]
|}

Latest revision as of 14:39, 20 August 2010

Up

Command

SET_UNDO <undo type>


Set an undo state to return to if the user presses <ctrl> Z. You must specify what type of changes you would like to be able to undo, this is controlled by the <undo type> parameter.

Parameters

<undo type>
One of the following

Example

SET_UNDO WG_MOD
SET_UNDO CS_MOD


This sets two undo states, for WG_MOD (modifications to the workgroup) and CS_MOD (modifications to the CS). If the user presses <CTRL>z, then any changes to the WorkGroup and/or CS will be undone, but other changes (such as creating a new operation) will not be undone.

This category currently contains no pages or media.