"undoRedoEnabled"

This property holds whether undo/redo is enabled.

Synopsis

setValue(string shape,"undoRedoEnabled",bool m);

getValue(string shape,"undoRedoEnabled",bool &m);

shape.undoRedoEnabled(boolm);

Parameter

Parameter Description
shape Object name
m

TRUE = the undo/redo is disabled,

FALSE = the undo/redo is enabled

Description

This property holds whether undo/redo of a textEdit is enabled.

Example

In the following example the undo/redo is disabled. This means you cannot undo any actions.

main(bool enter)
{
  bool un = TRUE;
  string obj = "TEXT_EDIT1";
  setValue(obj,"undoRedoEnabled",un);
}

Assignment

TextEdit