delphi webbrowser与网页相互操作
摘要:
1.delphi 调用js,触发就是方法:var win: IHTMLWindow2;beginwin := IHTMLDocument2(wbmap.Document).parentWindow;Win.execScript('addAllPoits(' + QuotedStr(strValue) + ')', 'javascript');end;addAllPoits:js的方法strValue:方法参数;'javascript':脚本语言;2.js页面操作触发delphi程序写的方法,主要原理是:修改window.exter 阅读全文
posted @ 2012-12-04 09:27 呼嘎嘎 阅读(2976) 评论(1) 推荐(0) 编辑