"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");
}
Assignment
Tree widget