tags:

views:

13

answers:

1

Hello I have a winform where I want the user to select an item and subsequently show the item in the form, much as a combobox but when it is dropped a tree view is shown.

Two reasons for not using plain list:
1. The items is logically ordered in an hierarchical structure that I would like to show
2. It can be potentially a lot of items so it would be good to hide the leaves of the branches until the user want to see them.

I can spawn a new form, showing the tree, return the answer from the form and when show it in my form but I would like to ask if it can be solved without the more intrusive and more industrious way to do that.
Thanks in advance.
Gorgen

+1  A: 

CodeProject is always a good place for things like this, for example this article looks promising: DropDown TreeView Control

ho1
@ho1, thank you It was more or less what I needed, unfortunatly you need to sign up on yet another site, I'm a bit sensitive about leaving my email address all round the internet. I think it is based on painting a treeview over the form when needed.
Gorgen
@ho1: I saw that I could see the code in another tab on the page. I don't need to download the project to see the code.
Gorgen
@Gorgen: I know the feeling about not wanting to spread my email around, but CodeProject seems ok in that as far as I can remember I've not had a single email from them except during the signup and I've bee using them for many years. And otherwise there's always mailinator and similar throw away services as well.
ho1