if (this.isinited) { this.setScroll(1 - (p / this.lineheight)); this.pos = p; if (this.onpos) this.onpos.sendEvent(p); } this.setPos(-this.lineheight * (this.scroll - 1), true); this._inputcontainer._textentry.setText(d); var text = this._inputcontainer._textentry.getText(); text = replace(text, "\r", "\n"); return text; return this._inputcontainer._textentry.setText(t); return this.getText(); <_scrollinputfield name="_textentry" height="${parent.height}" width="${parent.width - 20}" multiline="true"> if (parent['onfocus']) parent.onfocus.sendEvent(s);