"getForeColor"

Gets the foreground color for an item.

Synopsis

shape.getForeColor(string id, int column);

Parameters

Parameter Description
shape Name of the object
Id The ID of the item
column The number of the column

Description

Gets the foreground color for an item.

Example

The following example gets the foreground color for the item "PART1".

main()
{
  string fcolor = TREE1.getForeColor("PART1",0);
  DebugN("Color: " + fcolor);
}

Assignment

Tree widget