摘要: style:'cursor:pointer;' 阅读全文
posted @ 2012-04-10 22:04 二姐1511 阅读(367) 评论(0) 推荐(0)
摘要: label自身并无单击事件,需要手动添加监听,触发单击事件//在ui界面创建好lable控件var label = new Ext.form.Label({ itemId: 'addClick', height: 20, margin: '13 0 7 0', text: '单击测试', style: 'color:blue;cursor:pointer;text-decoration:underline;'});//向label中添加监听器,单击执行指定的函数label.addListener("click" 阅读全文
posted @ 2012-04-10 22:02 二姐1511 阅读(2409) 评论(0) 推荐(0)