发布于 2009-11-01 09:38:09
2楼
我新建了2个画面 一个叫A,另外个叫B,其中A中添加了个画面窗口1,在A中添加按钮,来实现B画面的弹出。是触发一个按钮动作写下的脚本是:
Sub OnClick(ByVal Item)
Dim MyPicWind, MyPicWind1
Set MyPicWind=HMIRuntime.Screens("a")
Set MyPicWind1=MyPicWind.ScreenItems("画面窗口1")
MyPicWind1.ScreenName="b"
MyPicWind1.Visible=True
MyPicWind=Nothing
End Sub
弹出对话框就是:
标题是:pdlrt:hmiruntime
正文内容是:error:hmiruntime:get_screens:不支持此接口。
我的wincc是7.0 sp1 亚洲版本的 !请教斑竹是什么原因呢?很急很急!!