enable/disable popups in treeview in runtime
Posted on 2000-05-15
I use Delphi 3.0.
I have a problem with treeviews.
I have linked a menu to the
treeview that has a option to
delete the selected node.
Thats menu command has [DEL]
The problem is when the user is
editing the text in a node
and hits [DEL] to delete a letter.
My program now deletes the node
rather than one letter in the node's
text. How can I distinguish these separate
I thought I could use OnEditing to disable
the popupmenu, but in what event can i reset
that event to show the popup?
thanks in advance,