cyprus106
Programmer
- Apr 30, 2001
- 654
Alright, so I've got this tree view that is always expanded. Can't collapse. And it's kind of in the format of:
+Category1
-Subitem1
-Subitem2
-Subitem3
+Category2
-Subitem1
-Subitem2
-Subitem3
For some reason, maybe just stupidity, I can't for my life seem to be able to catch the selected category when a user double clicks it. I tried selected but instead of showing me the selected category, it lists the selected subitems. The categories can be dynamically added and removed by the user so I can't hardcode in anything. I'm not exactly sure what the problem is--you'd think i'd be simple enough but I just can't get that 'Selected' to work.
Cyprus
+Category1
-Subitem1
-Subitem2
-Subitem3
+Category2
-Subitem1
-Subitem2
-Subitem3
For some reason, maybe just stupidity, I can't for my life seem to be able to catch the selected category when a user double clicks it. I tried selected but instead of showing me the selected category, it lists the selected subitems. The categories can be dynamically added and removed by the user so I can't hardcode in anything. I'm not exactly sure what the problem is--you'd think i'd be simple enough but I just can't get that 'Selected' to work.
Cyprus