Update cookies preferences
Promotic

SetSel - method of the PmfTreeItem object

Description:
Sets the selected tree item.
Syntax:
Boolean SetSel([Long nType])
Parameters:
nType[optional] (Long) Specifies the type and area of item selection.
0 (default) - Selects the specified item.
If needed, expands all necessary parent items, but does not change the position of the scrollbar in the tree.
After the expansion, the onExpand event is triggered.
Note:
This method is also functional in Web panels.
Example:
JavaScriptSelect and copy to clipboard

oTreeItem.SetSel();   // Selects the oTreeItem item

History:
Pm9.00.26: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.