CimAlarmClass.NormalFGColor (property)

Gets and sets the normal state foreground color.
Syntax: CimAlarmClassColorEnum = object.NormalFGColor
object.NormalFGColor = CimAlarmClassColorEnum
Description: The NormalFGColor property gets and sets the normal state foreground color.



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.Normal_fg = cimColorIndx_0_Black
alarmClass.Save False