"resizeMode" - obsolete with version 3.12

This attribute specifies whether all, none or the only the last column should be resized.

Synopsis

shape.resizeMode(string mode);

Parameters

Parameter Description
shape Name of the object
mode

The resize mode:

"NoColumn" = No columns will be resized.

"AllColumns" = All columns will be resized equally to fit into the width of the tree view.

"LastColumn" = The last column only will be resized to fit into the width of the list view.

Description

This attribute specifies whether all, none or only the last column should be resized.

Example

The following example sets the resize mode to "AllColumns". This means that all columns will be resized equally to fit into the width of the tree view.

main()
{
  TREE1.resizeMode("AllColumns");
}

Assignment

Tree widget, DpTreeView