|
-
Feb 19th, 2013, 01:58 PM
#1
Pure VB6 TreeView Control
....or ListView if you set the 'Indentation' Property to zero.... ;-)
Why I created this:
I am developing a treeview control BUT this isn't it!
At this stage, I am just creating the classes that will provide the 'engine' for my final work. However, in the course of doing so, I knocked up a very basic VB6 User Control and a hosting form in order to test them. I do not intend to use this Control myself (I'll be writing a new one that draws the nodes and provides for 'proper' hit-tests etc) so may not develop it further unless I need to add functionality to the classes that I need to test. Therefore there may or may not be updates to this post. However, somebody might find it useful to learn from in its current state...
I'd also appreciate peer code review as I'm a self-taught coder and may be doing some things less efficiently than I could be (or making other glaring mistakes)!
FEATURES:
- Drag-And-Drop between nodes
- User-definable node caption colours
- User-definable Background colour or picture
WATCH OUT FOR:
- Barely any error handlers added as yet (cos I want to expose all errors during testing)
- Not extensively commented (since I'm re-writing, re-designing as I go along)
Please do not report errors/crashes with the demo form - it is just a demo. I am however interested in errors raised by the classes and, to a lesser extent, the User Control. I'll repeat; it's really the classes that I am submitting - the rest is just a way of demonstrating/testing them...
Tree.zip
If you don't know where you're going, any road will take you there...
My VB6 love-children: Vee-Hive and Vee-Launcher
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|