<_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.setWidth(w); if (this.isinited ) { this.border.setWidth(w - this.labelwidth); this.txt.setWidth(w - this.labelwidth - 2); } this.txt.setValue(t,isinitvalue); this.txt.setSelection(ns,ne); return this.txt.text; super.init(); this.setWidth(width); this.border.setHeight( this.txt.height + 2 ); this.label_text.setX(this.labelwidth - 6 - this.label_text.width); this.border.setX(this.labelwidth); this.txt.setX(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.setX(this.labelwidth - 6 - this.label_text.width); }