function Window(){ 
var win=new Ext.Window({title:"hello",width:300,height:200,html:'This is the body.'}); 
win.show(); 
} 
      这里就需要创建一个Ext.Window的对象,调用show方法进行显示。
      Ext.Window在构造函数中可以传入很多参数,这里只用到了title、width、height和body区域显示的内容。
      new Ext.Window({title:"",width:300,height:200,html:'This is the body.'});
      title:""  设置标题
      width:300 宽度
      height:200 高度
      html:'xxxx'   可以放置任何html代码 
1
您可能感兴趣的文章:
