wincc c脚本下怎么没有像b中的enabled属性

如题。在c脚本下怎么实现像在b脚本下的enabled属性呢?高手赐教,不胜感激!

最佳答案

SetOperation

 Function
 Controls the operability of the objects.

 Syntax

 BOOL SetOperation(LPCTSTR lpszPictureName, LPCTSTR lpszObjectName, BOOL bOperation);

 Parameters

 lpszPictureName

 Picture name

 lpszObjectName

 Object name

 bOperation

 Object operable, yes/no

 Return value

 TRUE
 The function has been completed without any errors.

 FALSE
 An error has occurred.

 Note
 If the function is called for the picture object, set the parameter lpszObjectName = ZERO

提问者对于答案的评价:
非常感谢!

原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc271160.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2019年6月11日
下一篇 2019年6月11日

相关推荐