UniButton1.ClientEvents.ExtEvents.Values['click']:='function(sender){alert("Click")}';
UniEdit1.ClientEvents.ExtEvents.Values['change']:='function(sender, newValue){UniForms.UniEdit2.setValue(newValue)}';
UniContainerPanel1.ClientEvents.ExtEvents.Values['click']:='function(sender){UniForms.UniEdit2.setValue("demoPanel.click")}';
UniContainerPanel1.ClientEvents.ExtEvents.Values['move']:='function(sender){UniForms.UniEdit2.setValue("window.move")}';
-----------------------------------
Delphi XE UniGUI ExtJS [7] Delhi 动态添加 ClientEvents.ExtEvents 事件
https://blog.51cto.com/u_15127698/4024621
Delphi XE UniGUI ExtJS [7] Delhi 动态添加 ClientEvents.ExtEvents 事件
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)