恭喜,你发布的帖子
发布于 2023-01-24 16:09:16
5楼
脚本完整路径应该是这样的:
HMIRuntime.Screens("Main").ScreenItems("Picture Window1").Picturename="MZEXplorer"
HMIRuntime.Screens("Main").ScreenItems("Picture Window1").visible="MZEXplorer"
如果Picture Name2的画面没指定画面的话需要这样:
HMIRuntime.Screens("Main.Picture Window1:MZEXplorer").ScreenItems("Picture Windows2").PictureName="Mz1E"
脚本不确定有没有拼写错的...
Main是按钮所在的画面
请填写推广理由:
分享
只看
楼主