"selectedItem"

The attribute "selectedItem" of the DPTreeView returns the datapoint identifier of the selected Element as string.

Synopsis

shape.selectedItem();

Parameter

Parameter Description
shape Name of the object

Description

Returns the datapoint identifier of the selected DPTreeView element as string value. If a datapoint type has been selected, the result matches following format: "System:[DPT]".

Assignment

DpTreeView