Update cookies preferences
Promotic

RemoveItem - method of the PmfTreeItem object

Description:
Removes the selected item from the tree.
Syntax:
Empty RemoveItem([Long nWhat])
Parameters:
nWhat[optional] (Long) Specifies which items will be removed.
0 (default) - Removes the specified item.
2 - Removes all subitems of the specified item.
Note:
This method is also functional in Web panels.
 
The root tree item (see PmfTree.TreeRoot property) cannot be removed.
Example:
JavaScriptSelect and copy to clipboard

oTreeItem1.RemoveItem();   // Removes the item oTreeItem1
oTreeItem2.RemoveItem(2);   // Removes all subitems of the oTreeItem2 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.