I worked with the 'expandable listview' code from this site. Although it is great for numeric display and selection, i was unable to efficiently re-code to easily add text.
Specifically, i was wanting something similar to VB TreeView. I would like to have the code except a Parent and multiple Child selections;
(parent) Car
(child) Honda
(child) Ford
(child) GMC
(child) Toyota
(parent) Color
(child) Blue
(child) Red
(child) Green
I tried to 'Type' the parent as;
Type Parent(ParentId as int, Title as string)
Type Child(ChildId as, Title as string, ParentId as int)
From this I should be able to program the Child sub-tree easier, but I had no success. I could do this similar to a 2 dimensional array, but it would be less efficient.
Please point me in the right direction.
Thanks in advance!
Specifically, i was wanting something similar to VB TreeView. I would like to have the code except a Parent and multiple Child selections;
(parent) Car
(child) Honda
(child) Ford
(child) GMC
(child) Toyota
(parent) Color
(child) Blue
(child) Red
(child) Green
I tried to 'Type' the parent as;
Type Parent(ParentId as int, Title as string)
Type Child(ChildId as, Title as string, ParentId as int)
From this I should be able to program the Child sub-tree easier, but I had no success. I could do this similar to a 2 dimensional array, but it would be less efficient.
Please point me in the right direction.
Thanks in advance!