Win XP Home
I have a Treeview and a series of Toolbuttons.
User clicks the "Add Toolbutton". This creates a new TreeNode and sets it to Node.EditText;
The user enters random text and presses enter. The label data is processed by the TV.OnEdited event.
So far so good.
If the user changes the node's label but does not hit ENTER, but instead clicks another node or another control, the TV.OnEdited event doesn't seem to get called. I tried to set the OnChanging event to say
If (Tv.IsEditing) then
but the data is still not saved. The label itself is changed but I have to commit the changes to a record as well and that occurs in the OnEdited event. Any ideas?