TreeViewControl Example (new GUI)
Posted: 6 Jun 2005 12:58
Hello,
Here is an example project using gui\treeViewControl.
It's a reasonable starting point for anyone wishing to use treeViewControl. Most (if not all) the tree operations have been implemented - moving items around with both keyboard actions as well as drag and drop with the mouse, inserting brothers and sons, deleting, copy and pasting, and undo.
The implementation is in a form - the treeViewControl is attached to a custom control in the form. With the new GUI, of course, the code can be easily be transferred to a dialog.
Steve
PS. Zip attachment updated on 7th June. "Enter" key now terminates tree text editing
<<Thomas Linder Puls: Attachment deleted (see below)>>
Here is an example project using gui\treeViewControl.
It's a reasonable starting point for anyone wishing to use treeViewControl. Most (if not all) the tree operations have been implemented - moving items around with both keyboard actions as well as drag and drop with the mouse, inserting brothers and sons, deleting, copy and pasting, and undo.
The implementation is in a form - the treeViewControl is attached to a custom control in the form. With the new GUI, of course, the code can be easily be transferred to a dialog.
Steve
PS. Zip attachment updated on 7th June. "Enter" key now terminates tree text editing
<<Thomas Linder Puls: Attachment deleted (see below)>>