"onColor";

Sets the foreground color of an LCD number.

Synopsis

setValue(string shape,"onColor",string color);

getValue(string shape,"onColor",string &color);

shape.onColor(string color);

Parameter

Parameter Description
shape Name of the object
color The color

Description

Sets the foreground color of an LCD number.

Example

Sets the foreground color of the LCD number to red.

main(bool enter)
{
  LCD1.OnColor("Red");
}
Figure 1. LCD Number with Red Foreground Color

Assignment

LCD number