Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Apps, Widgets, and Controls

AlarmColor​.Ack​.BackGround property

  • Last UpdatedSep 20, 2024
  • 1 minute read

The AlarmColor.Ack.BackGround property is an array of read-write integer properties that get or set the background colors of all acknowledged alarm records.

Index

Purpose

0

Sets the background color of all acknowledged alarm records in all priority ranges.

1

Gets or sets the background color of acknowledged alarm records in the priority range 1 to AlarmColor.Range[1].

2

Gets or sets the background color of acknowledged alarm records in the priority range AlarmColor.Range[1] to AlarmColor.Range[2].

3

Gets or sets the background color of acknowledged alarm records in the priority range AlarmColor.Range[2] to AlarmColor.Range[3].

4

Gets or sets the background color of acknowledged alarm records in the priority range AlarmColor.Range[3] to 999.

Syntax

Color = AlarmClient.AlarmColor.Ack.BackGround[n];

AlarmClient.AlarmColor.Ack.BackGround[n] = Color;

Parameters

n

Index from 0 to 4.

Color

Color of background.

Examples

AlarmClient1.AlarmColor.Ack.BackGround[0] = Color.Red;

AlarmClient1.AlarmColor.Ack.BackGround[1] = Color.FromARGB(0,128,0);

AlarmClient1.AlarmColor.Ack.BackGround[2] = Color.Grey;

AlarmClient1.AlarmColor.Ack.BackGround[3] = Color.Yellow;

AlarmClient1.AlarmColor.Ack.BackGround[4] = Color.Black;

Remarks

Color is a .NET Framework data type. You can use various Color methods to set the color, such as a predefined color name, FromARGB(), FromKnownColor(), and FromName().

For a list of the .NET color names and the hexadecimal codes, see .NET colors.

For more information on the color methods, see the online Microsoft documentation for .NET Framework Development.

In This Topic
TitleResults for “How to create a CRG?”Also Available in