"columns"

Returns the number of columns.

Synopsis

getValue(string shape, "columns",int &number);

Parameters

Parameter Description
shape Name of the object
number The number of columns

Description

Returns the number of columns.

Example

The following example returns the number of columns (tree widget).

main()
{
  int c;
  getValue("TREE1","columns",c);
  DebugN("Columns",c);
}

Assignment

Tree widget, DpTypeView, DpTreeView