gNumericLabel.gLimitLow Property

Top  Previous  Next

PROPERTY                                               DATA TYPE

gLimitHigh

Double (Real)

gLimitLow

Double (Real)

gForeColorInLimits

Color

gForeColorOfOutOfLimits

Color

 

 

When ( gValue > gLimitHigh OR gValue < gLimitLow ), it is supposed that gValue is out of limits.

When this happens, gValueOutOfLimits event occures.

 

When ( gLowLimit <= gValue <= gLimitHigh ), it is supposed that gValue is in limits.

When this happens, gValueReturnedIntoLimits event occures.

 

When gValue value is out of limits gNumericLabel ForeColor is automatically set to gForeColorOutOfLimits.

 

When gValue value is in limits gNumericLabel ForeColor is automatically set to gForeColorInLimits.

 

C# code example

gNumericLabel.gLimitHigh = 12.34;

gNumericLabel.gLimitLow = 10;

gNumericLabel.gForeColorInLimits = Color.Green;

gNumericLabel.gForeColorOutOfLimits = Color.Red;