"expandsOnDoubleClick"

Sets if the user is able to expand and collapse items by double-clicking.

Synopsis

shape.expandsOnDoubleClick(bool check);

Parameter

Parameter Description
shape Name of the object.
check

TRUE = expanding/collapsing by doubleclicking is enabled.

FALSE = expanding/collapsing by doubleclicking is disabled.

Description

If it's TRUE, the user is able to expand and collapse items by double-clicking.

EXAMPLE

Sets expandOnDoubleClicks to TRUE.

main()
{
  TREE1.expandsOnDoubleClick(true);
}

Assignment

Tree widget