解决方案 »

  1.   

    我尝试写一个回调函数,好吧,还是失败了……ext好烦- -。this.add(this._chk_setpic = new Ext.form.Checkbox({
                            margins : '10 0 0 10',
                            checked : false,
                            disabled : true,
                            boxLabel : '是否需要设置图片质量',
                            width : 450,
                            handler:function(){
                                this._show();
                                //this._setpic.disabled=false;
                            }
                    }));
    _show:function(){
    if(this._chk_setpic.checked===true)
                    {
                        this._setpic.disabled=false;
                    }
    }
      

  2.   

    在this.callParent();前加一句 var me = this;
    指定scope: me你原本的scope: this,这个this实际指向checkbox