// args from parent if ( parent['password'] != null ) args.password = parent.password; parent._field = this; super.construct( parent, args ); if (parent['onfocus']) parent.onfocus.sendEvent(s); if (parent['onblur']) parent.onblur.sendEvent(s); if (! this.ignorecallup) { parent.setValue(this.getText(),false,true); } this.ignorecallup = false; var fx = parent.getAttributeRelative('x',canvas); var fy = parent.getAttributeRelative('y',canvas); var fw = parent.getAttributeRelative('width',canvas); var fh = parent.getAttributeRelative('height',canvas); return [fx,fy,fw,fh]; if ( parent['getPrevSelection'] ) return parent.getPrevSelection() return null; // default tab order occurs if ( parent['getNextSelection'] ) return parent.getNextSelection() return null; // default tab order occurs super.setHeight(h); this._initialtexty = (!this._initcomplete); if (this._initcomplete) this._placeTextY() this.multiline = ml; if (this._initcomplete) { this._field.setMultiline(ml); this._placeTextY(); } if (this.multiline) { this._field.setY(2); } else { this._field.setY( (this.height - this._field.getTextHeight()) / 2 - 3 ); } this.setValue(t,isinitvalue); this.setValue('', isinitvalue); this.setAttribute('maxlength', n); this._field.setMaxlength(n); this._field.setSelection(start, end); return this._field.getSelectionPosition(); return this._field.getSelectionSize(); this.setAttribute('pattern', r); this._field.setPattern(r); if (this._initcomplete) { return this._field.getText(); } else { return this._initialtext; } if (this._initcomplete) { return this._field.getText(); } else { return this._initialtext; } this._field.setEnabled(this._enabled); if (this.style != null) { if (this.bgcolor) { this._field.setAttribute('bgcolor',s.textfieldcolor); } if (this['_face']) { this._face.setAttribute('bgcolor',s.textfieldcolor); } }