|Top Previous Next|
PROPERTY DATA TYPE
When ( gValue > gLimitHigh OR gValue < gLimitLow ), it is supposed that gValue is out of limits.
When this happens, gValueOutOfLimits event occurs.
When ( gLowLimit <= gValue <= gLimitHigh ), it is supposed that gValue is in limits.
When this happens, gValueReturnedIntoLimits event occurs.
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;