"multiSelection" (replaced by "selectionMode" since version 3.11)

Allows to select several items of a tree widget at the same time.

Synopsis

shape.multiSelection(bool sel);

Parameters

Parameter Description
shape The name of the object
sel

TRUE = Several items can be selected at the same time.

FALSE = Only one item can be selected at a time.

Description

Allows to select several items of a tree widget at the same time by dragging the mouse while left mouse button stays pressed.

Example

In the following example, the attribute "multiSelection"; has been set to TRUE. This means that several items can be selected at the same time by dragging the mouse while left mouse button stays pressed.

main()
{
  TREE1.multiSelection(TRUE);
}

Assignment

Tree widget