<_newinternalinputtext name="txt" width="${parent.width}" height="${parent.height}" bgcolor="white" > if ( parent['getPrevSelection'] ) { return parent.getPrevSelection(); } return null; // so that default tab order occurs if ( parent['getNextSelection'] ) return parent.getNextSelection() return null; // so that default tab order occurs super.setAttribute('width', w); if (this.isinited ) { this.border.setAttribute('width', w - this.labelwidth); this.txt.setAttribute('width', w - this.labelwidth - 2); } this.txt.setValue(t,isinitvalue); this.txt.setSelection(ns,ne); return this.txt.value; super.init(); this.setAttribute('width', width); this.border.setAttribute('height', this.txt.height + 2 ); this.label_text.setAttribute('x', this.labelwidth - 6 - this.label_text.width); this.border.setAttribute('x', this.labelwidth); this.txt.setAttribute('x', this.labelwidth + 1); if (this.labelstyle != null) this._applystyle(this.labelstyle); if (s != null) { this.label_text.setAttribute("fgcolor", s.textcolor); this.label_text.setAttribute("font", s.font); this.label_text.setAttribute("fontsize", s.fontsize); this.label_text.setAttribute('x', this.labelwidth - 6 - this.label_text.width); }