JavaScript获取HMI中的变量

Keep Open and Learning
Post Reply
jiataifeng
Posts: 148
Joined: 30 Apr 2009 06:31

JavaScript获取HMI中的变量

Post by jiataifeng » 22 Jan 2019 01:00

var someControl = TcHmi.Controls.get('TcHmiButton');
if(someControl !== undefined) {
someControl.setText('found you');
}

Post Reply