Hi All,
Does anybody know of a reasonable way to control and/or capture changes to a TTreeNode (node of a TTreeview)?
If Editing of the TTreeView is allowed, the user can change node names by clicking on a selected item, much like changing a file name in Windows Explorer.
But the editing appears to be controlled by methods of the node that resemble a TEditBox. Perhaps it is a TEditBox. I don't know.
I'd like to get to the OnKeyPress and OnExit events to control what the user can type, and to detect when he's done editing, but haven't found a way to do this yet.
Any ideas?
Thanks,
Kent
Start Free Trial