strText = treectrl.item(item, parent);
treectrl.item(item, parent) = strText;
Sets/retrieves the text of the specified item.
// Test get/set item
var hItem = treectrl.newItem("New item");
treectrl.item(hItem) = "changed text";
if (treectrl.item(hItem) != "changed text")
Env.LogError("Could not change tree item text");
treectrl Overview | treectrl.itemData