Promotic
Login logon

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.
The onExpand event is triggered after the expansion.
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.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences