"modified"

The attribute "modified"; returns TRUE if a textEdit has been modified.

Synopsis

getValue(string shape,"modified",bool &mod);

Parameter

Parameter Description
shape Name of the object
mod

TRUE = The textEdit has been modified.

FALSE = The textEdit has not been modified.

Description

The attribute "modified" returns TRUE if a textEdit has been modified.

Example

This example returns TRUE if the textEdit"TEXT_EDIT1" has been modified.

main(bool enter)
{
  string obj = "TEXT_EDIT1";
  bool mod;
  getValue(obj,"modified", mod);
  DebugN("Has the document been modified?", mod);
}

Assignment

TextEdit