"setSelectedItems"

Selects a specified items.

Synopsis

shape.setSelectedItems(dyn_string Ids,bool selected);

Parameters

Parameter Description
shape Name of the object
Ids The IDs of the items
selected

TRUE = Select item

FALSE = Deselect item

Description

Selects a specified items.

Example

The following example selects the elements "PART1", "PART2" and "PART3".

main()
{
  dyn_string items = makeDynString("TEIL1", "TEIL2", "TEIL3");
  TREE1.setSelectedItems(items, TRUE);
}

Assignment

Tree widget