2021年6月18日

Delphi XE UniGUI ExtJS [7] Delhi 动态添加 ClientEvents.ExtEvents 事件

摘要: Delphi XE UniGUI ExtJS [7] Delhi 动态添加 ClientEvents.ExtEvents 事件 UniButton1.ClientEvents.ExtEvents.Values['click']:='function(sender){alert("Click")}'; 阅读全文

posted @ 2021-06-18 15:49 滔Roy 阅读(406) 评论(0) 推荐(0) 编辑

Delphi XE UniGUI ExtJS [6] fireEvent 事件 模拟按键点击(JS、ExtJS、Delphi)

摘要: Delphi XE UniGUI ExtJS [6] fireEvent 事件 模拟按键点击(JS、ExtJS、Delphi) //js document.getElementById(MainForm.UniButton4.getId()).click(); //模拟按钮事件 //extjs Ma 阅读全文

posted @ 2021-06-18 15:46 滔Roy 阅读(310) 评论(0) 推荐(0) 编辑

Delphi XE UniGUI ExtJS [5] 鼠标和Key事件

摘要: Delphi XE UniGUI ExtJS [5] 鼠标和Key事件 function mousedown(sender, x, y, eOpts) { if (sender.getEl().dom.innerHTML == '<img src="files/p1.jpg">') //getEl( 阅读全文

posted @ 2021-06-18 15:43 滔Roy 阅读(301) 评论(0) 推荐(0) 编辑

Delphi XE UniGUI ExtJS [4] Ajax、Response(响应) 的使用

摘要: Delphi XE UniGUI ExtJS [4] Response(响应) 的使用 1、设定 //ClientEvents JS 设定AjaxCallback function OnAjaxCallback(sender, response) { sender.setText(response) 阅读全文

posted @ 2021-06-18 15:41 滔Roy 阅读(479) 评论(0) 推荐(0) 编辑

Delphi XE UniGUI ExtJS [3] UniLabel 、UniEdit 、UniButton

摘要: Delphi XE UniGUI ExtJS [3] UniLabel 、UniEdit 、UniButton //ClientEvents JS UniLabel UniForms.UniLabel1.setText("Mouse Out"); //赋值 setText ,注意文本值 “双引号”包 阅读全文

posted @ 2021-06-18 15:38 滔Roy 阅读(377) 评论(0) 推荐(0) 编辑

Delphi XE UniGUI ExtJS [2] getEl()

摘要: Delphi XE UniGUI ExtJS [2] getEl() 1、位置: getX() //取得相对于页面的x坐标 getY() //取得相对于页面的y坐标 getXY() //取得相对于页面的x,y坐标,用法:ele.getXY()[0]/[1] getOffsetsTo(el) //取得 阅读全文

posted @ 2021-06-18 15:34 滔Roy 阅读(347) 评论(0) 推荐(0) 编辑

Delphi XE UniGUI ExtJS [1] 介绍

摘要: Delphi XE UniGUI ExtJS [1] 介绍 ExtJS是一个Ajax框架,用javascript编写,用于在客户端创建丰富多彩的web应用程序界面。ExtJS可以用来开发RIA也即富 客户端的AJAX应用,是一个与后台技术无关的前端ajax框架。因此,可以把ExtJS用在.Net、J 阅读全文

posted @ 2021-06-18 15:25 滔Roy 阅读(577) 评论(0) 推荐(0) 编辑

Delphi 与 JavaScrpt 交互[1]

摘要: Delphi 与 JavaScrpt 交互[1] 准备一段js放置于Memo1中 function bb(cc){ var d = cc+5; return d; } 实现代码: uses ComObj; function ExecScript(Code,Lang,Func:string):stri 阅读全文

posted @ 2021-06-18 11:35 滔Roy 阅读(236) 评论(0) 推荐(0) 编辑

导航