Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当您在 gui 的 activex 控件 shell.explorer 中浏览时,有时页面会出现脚本错误,并且会出现一条消息,指出出现错误并停止程序。如何阻止来自 activex 的这些消息?我知道我可以在 IE 中,在设置菜单或某处,我做到了,但它不适用于 activex 控件,因为它与 IE 分开运行(如果你在 IE 中的某个地方登录,你还必须在 activex 上登录,例如)
抱歉,我发现了我想要的东西。我想关闭烦人的脚本错误消息,您可以使用 IEObj.silent:=1