"columnHeaderIcon"

Defines an icon for the table header of a column.

Synopsis

setValue(string shape, "columnHeaderIcon", int index, string pictureName);

getValue(string shape, "columnHeaderIcon", int index, string &pictureName);

shape.columnHeaderIcon(int index, string pictureName);

Parameters

Parameter Description
shape Name of the object
index Column index, starting at 0
pictureName Relative path to the icon file of the icon in the /pictures directory. An empty pictureName removes the icon from the table header.

Description

Defines an icon for the table header of a column. The icon size can not be influenced and is defined by the style.

Example

main()
{
  this.appendLine("Group","guest");
  this.columnHeaderIcon(this.nameToColumn("Group"), "aleft.png");
  this.cellToolTipRC(0, "Group", "guest");
}
Figure 1. Table with an Icon for the Table Header

Assignment

Table