Table of contents
TOC
Collapse the table of content
Expand the table of content

CanRedo Property

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Indicates whether the most recent Undo can be reversed. Syntaxobject. CanRedo The CanRedo property syntax has these parts:

PartDescription
objectRequired. A valid object.

Return Values The CanRedo property return values are:

ValueDescription
TrueThe most recent Undo can be reversed.
FalseThe most recent Undo is irreversible.

RemarksCanRedo is read-only. To Redo an action means to reverse an Undo; it does not necessarily mean to repeat the last user action. The following user actions illustrate using Undo and Redo:

  1. Change the setting of an option button.

  2. Enter text into a text box.

  3. Click Undo. The text disappears from the text box.

  4. Click Undo. The option button reverts to its previous setting.

  5. Click Redo. The value of the option button changes.

  6. Click Redo. The text reappears in the text box.

© 2018 Microsoft