Honeywell HMI腳本分享之—— 背景顏色變換以及文本框顯示與隱藏
Sub pushbutton003_ondatachange if me.DataValue("CM_1.FLAGA_1.PV")=1 then me.fillColor=vbgreen else me.fillColor=vbred end if if me.DataValue("CM_1.FLAGA_1.PV")=1 then textbox003.style.visibility="visible" textbox004.style.visibility="hidden" else ?textbox003.style.visibility="hidden" textbox004.style.visibility="visible" end if End Sub
標(biāo)簽: