SetPriorityColor Method

Sets the row background color to display for the alarms with the specified alarm priority.

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

Syntax

object.SetPriorityColor PriorityId, PriorityColor

Properties

The SetPriorityColor method syntax has these parts:

Part

Description

object

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

PriorityId

Integer. The ID corresponding to the alarm priority.

0 - CRITICAL
1 - HIHI
2 - HIGH
3 - MEDIUM
4 - LOW
5 - LOLO
6 - INFO  (INFORMATIONAL)

PriorityColor

OLE_COLOR. The row background color to display for the alarms with the alarm priority.

 

Example

Applies To