I have made a little programm that has a Treeview, a RichEdit.
and 4 buttons on a Panel. 2 buttons are for loading and saving
the treeview nodes with its associating text on the RichtEdit
to a database. The other 2 buttons are for creating a Folder-node
and a File-node in the Treeview. Everything works perfect.
Now I want to make a fifth button on the panel for deleting
a Treeview node. Who can help me with this procedure:
I have put the example on my site:
You see a floppy disc.
I also found this! I dont know if its usable:
ender: TObject; Node: TTreeNode);
if node.Data<>nil then
Greetings, Peter Kiers