derive(InputText, ClassInput);
function InputText() {

    override(this, 'Init');
    this.Init = function() {
        this.ClassInput_Init(arguments[0],arguments[1],arguments[2],arguments[3]);
        if(Designer_obj) {
            this.Property_Add(40, 'Tipo', 'Combo', 'Type', 'Type', '1|Password,2|Id de Cuenta,3|Num ent,4|Num 2 dec,5|Num 4 dec,6|Num real,10|Pais,11|Provincia,12|Ciudad');
            this.Property_Add(41, 'Solo lectura', 'Combo', 'ReadOnlyStr', 'ReadOnlyStr', 'True|Si,False|No');
        }
    }

    this.set_Text = function(aValue) {
        document.getElementById(this.ClientId).value = aValue;
    }
    this.get_Text = function() {
        return document.getElementById(this.ClientId).value;
    }

    this.set_Focus = function() {
        document.getElementById(this.ClientId).focus();
        document.getElementById(this.ClientId).select();
    }
    
    this.get_Type = function() {
        return this.Frm[this.FrmCount + 1];
    }
    this.set_Type = function(aValue) {
        this.Frm[this.FrmCount + 1] = aValue;
        if(Designer_obj)
            setTimeout('Designer_obj.Render()',500);
    }

    this.get_ReadOnlyStr = function() {
        return this.Frm[this.FrmCount + 2];
    }
    this.set_ReadOnlyStr = function(aValue) {
        this.Frm[this.FrmCount + 2] = aValue;
    }
    
}
