pb调用网页中的function

StevenWongIt 2014-05-07 03:47:39
ole_edit.object.document.parentWindow.sHeight()
用的这个,但是就是不行。求指教
...全文
102 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
StevenWongIt 2014-05-08
  • 打赏
  • 举报
回复
ole_edit.object.document.parentWindow.execScript("document.onselectstart=new Function(UE.getEditor('editor').setHeight(300))","JavaScript") 最后用这个解决了,谢谢你哦。
A啦Dbit 2014-05-07
  • 打赏
  • 举报
回复
ole_webBrowser.object.document.parentWindow.execScript("sHeight()","JavaScript") 这样试试

662

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder Web 应用
社区管理员
  • Web 应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧