Gets and sets the invalid state background color. | |
Syntax: | CimAlarmClassColorEnum =
object.InvalidBGColor object.InvalidBGColor = CimAlarmClassColorEnum |
Description: | The InvalidBGColor property gets and sets
the invalid state background. Example: Dim project As CimProject Set project = CreateObject("CimProject") project.OpenLocalProject "d:\classes\classes.gef" Dim alarmClasses As CimAlarmClassList Dim alarmClass As CimAlarmClass Set alarmClasses = project.AlarmClasses Set alarmClass = alarmClasses.Item("NCRIT") alarmClass.InvalidBGColor = cimColorIndx_1_Red alarmClass.Save False |