"overwriteMode";

Sets the overwrite mode of a textEdit.

Synopsis

setValue(string shape,"overwriteMode",bool mod);

shape.overwriteMode(bool mod);

Parameter

Parameter Description
shape Name of the object
mod

TRUE = Overwrite characters

FALSE = Normal mode

Description

Sets the overwrite mode of a textEdit. If FALSE (the default), characters entered by the user are inserted while any characters to the right are being moved to the side. If TRUE, the editor is in overwrite mode, that is, characters entered by the user overwrite the characters to the right of the cursor position.

Example

The following example sets the overwrite mode.

main(bool enter)
{
  this.overwriteMode(TRUE);
}

Assignment

TextEdit