SetStatusColor Method

Sets the row foreground color to display for the alarms with the specified status.

NOTE: This method has been deprecated and replaced with the .SetAlarmForegroundColor Method

Syntax

object.SetStatusColor StatusId, StatusColor

Properties

The SetStatusColor method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

StatusId

Integer. The ID corresponding to the alarm status.
Valid entries:

0 – OK
1 – LOLO
2 – HIHI
3 – LO
4 – HI
5 – RATE
6 – COS
7 – CFN
8 – DEV
9 – FLT
10 – DSAB
11 – ERROR
12 – ANY
13 – NEW
14 – TIME
15 – IOF
16 – OCD
17 – UNDER
18 – OVER
19 – RANGE
20 – COMM
21 – DEVICE
22 – STATION
23 – ACCESS
24 – SQL LOGIN
25 – SQL CMD
26 – DAT MATCH
27 – FLD READ
28 – FLD WRITE
29 – NO DATA
30 – NO XDATA

StatusColor

OLE_COLOR. The color to display for the alarm status.

 

Example

Applies To