Name
Treeview.Active -- set/get active tree item
Function
Set this attribute to activate the specified tree item. You have to pass the id of the entry to be made active to this attribute. IDs are either assigned during object creation in XML code or when calling Treeview.InsertNode or Treeview.InsertLeaf.

To deselect the active entry, just pass the special value Off. When getting this attribute, it returns the id of the active tree item and Off in case there is no active entry.

You can also set up a notification on Treeview.Active to get informed whenever the selection changes. The active tree item's id will be returned as the TriggerValue then.

Type
String

Applicability
SGN


Show TOC