"setForeColor"

Sets the foreground color for an item.

Synopsis

shape.setForeColor(string id, int column, string color);

Parameters

Parameter Description
shape Name of the object
Id The ID of the item
column The number of the column
color The foreground color that should be set.

Description

Sets the foreground color for an item.

Example

The following example sets the foreground color for the item "WHOLE_NAME" to blue.

main()
{
  TREE1.setForeColor("PART1",0,"Red");
}
Figure 1. The Foreground Color of the Item "WHOLE_NAME" was set to blue

Assignment

Tree widget