onChanged()
Previous  Top  Next

Syntax
object.onChanged() {
   statements;
}

Arguments
object: A Text Object.
statements: A list of any valid scripting commands that are executed if the Event has occured.

Description
An Event Handler. Code is executed when the text changes.
Note that Event statements assume that "this." is the containing Object.

Sample
Make the Text Field y scale bigger after each character is typed. This assumes an Input Text Field Object named txtInput:

txtInput.onChanged() {
   txtInput._yscale += 10;
}

See Also
Text Field Object