GetSelectedElementPath() Method
- Last UpdatedFeb 20, 2017
- 1 minute read
Gets the path of the selected element to the indicated expansion level.
Syntax
Object.GetSelectedElementPath(ExpansionLevel)
Parameter
ExpansionLevel
The level of expansion.
Example
The name of the control is AlarmTreeViewerCtrl1 and StrTag is a message tag.
StrTag = #AlarmTreeViewerCtrl1.GetSelectedElementPath(3);