"selectedItem"
The attribute "selectedItem" returns the selected item if a tree widget is in single selection mode and an item has been selected.
Synopsis
shape.selectedItem();
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
Description
The attribute "selectedItem" returns the selected item if a tree widget is in single selection mode and an item has been selected.
Example
The following example returns the selected item if the tree widget is in single selection mode.
main()
{
DebugN(TREE1.selectedItem());
}
Assignment
Tree widget