"setSelectedItem"

Selects the specified item.

Synopsis

shape.setSelectedItem(string Id, bool selected);

Parameters

Parameter Description
shape Name of the object
id The id of the item.
selected

TRUE = select item

FALSE = deselect item

Description

Selects the specified item.

Example

Selects the element "PART1".

main()
{
  TREE1.setSelectedItem("TEIL1", TRUE);
}

Assignment

Tree widget