how do i call a function after a treenode has been edited? the node.AfterLabelEdit handle works, but it dosn't update the node.text property before the function executes, so i can't work with the changes the user made...

also, is there a way to set a node as the selectednode when it is expanded. as it is, nodes can be expanded by clicking on the little plus sign and they expand, but they don't automaticaly get selected. if i could get the node that called the .afterexpandhandle, that would solve the problem....