发布于 2012-12-06 22:16:50
4楼
调不出来啊,头快炸了,真是初学啊,搞不不来,倒腾3小时,没有什么起色。
If ScreenItems("control1").seltext="one" Then HMIRuntime.Tags ("text1").Write 20
If ScreenItems("control1").seltext="two" Then HMIRuntime.Tags ("text2").Write 20
If ScreenItems("control1").seltext="three" Then HMIRuntime.Tags ("text3").Write 20
这样写,放在change事件里实现不了啊!好像给变量写不了值,我这个是内部变量。不过也没关系啊!
可以做个例子给我发过来吗?邮箱是yanghongchao_2012@163.com,感激不尽啊!
不断尝试,会有意想不到的收获!