学习ExtJS 访问容器对象

网络编程 发布日期:2024/10/13 浏览次数:1

正在浏览:学习ExtJS 访问容器对象
一、属性
ownerCt:得到当前对象所在的容器。
items:集合列表
二、应用举例
复制代码 代码如下:
Ext.onReady(function(){
var _window = new Ext.Window({
title:"测试窗体",
layout:"form",
width:300,
plain:true,
items:{
id:"name",
xtype:"textfield",
fieldLabel:"姓名"
},
buttons:[{
text:"确定",
handler:function(){
alert(this.ownerCt.ownerCt.items.first().getValue()) ;
alert(this.ownerCt.ownerCt.items.itemAt(0).getValue()) ;
alert(Ext.getCmp("name").getValue()) ;
}
}]
}) ;
_window.show() ;
}) ;
Windows上运行安卓你用过了吗
在去年的5月23日,借助Intel Bridge Technology以及Intel Celadon两项技术的驱动,Intel为PC用户带来了Android On Windows(AOW)平台,并携手国内软件公司腾讯共同推出了腾讯应用宝电脑版,将Windows与安卓两大生态进行了融合,PC的使用体验随即被带入到了一个全新的阶段。