GetStatusFont Method

Returns the row font for alarms that have the specified status.

Syntax

object.GetStatusFont(nStatusID, lpbStrikeout, lpbUnderline, lpbBold, lpbItalic, lpnSize)

Properties

The GetStatusFont method syntax has these parts:

Part

Description

object

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

nStatusID

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

lpbStrikeout

Boolean. Returns whether the text appears with a strikeout through it.

lpbUnderline

Boolean. Returns whether the text is underlined.

lpbBold

Boolean. Returns whether the text is bold or not.

lpbItalic

Boolean. Returns whether the text is italic or not.

lpnSize

Integer. Returns the font size of the text.

Return Value

String. The font name of the text for the specified status.

 

Example

Applies To