如题。在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