Top

Secret Chronicles of the Scripting API documentation

Class TextBox

Parent: Box

The classic way to display messages to the user involves the creation of a Text Box. When the user jumps against this kind of box, a small dialog window opens containing the previously set, possibly multiline text. Note that with scripting you can easily change the box’ text in the running level depending on whatever condition you may find suitable.

Class Methods

new

new() → a_text_box

Creates a new TextBox with the default values.

Instance Methods

text

text() → a_string

Returns the textbox’ text.

text=

text=( str ) → str

Specify the textbox’ text.

Parameters

str

The textbox’ new text. A possibly multiline string.