"columnWidthMode";

Shows which mode is set for a particular column.

Synopsis

shape.columnWidthMode(int Idx);

Parameters

Parameter Description
shape Object name
Idx Index of the column

Description

Queries which mode is set for a particular column.

  • 0 ... manual mode (TREE_WIDTH_MANUAL)
  • 1 ... maximum available space (TREE_WIDTH_MAXIMUM)
  • 2 ... fixed column width (TREE_WIDTH_FIXED)
  • 3 ... least required space for the contained text (TREE_WIDTH_STRECH)

Example

The following example shows which mode is set for the column with index 1.

main()
{
  DebugN(TREE1.columnWidthMode(1));
}

Assignment

Tree widget