How to make each Treeview Node have a related TextBox

I am trying to make a form in which the user fills in values. It is quite long. I wish to use an expandable tree to fit it into my one form. Is there any way to give each TreeView Node a TextBox by its side? Having the node text edited by itself is not enough.

Answers


Is the textbox for editing the node? or for secondary data? If the node, it can already be editable (Edit/BeginEdit or something). If secondary data, I would be quite tempted to push this into a single textbox that displays/edits the data for the current selected node. That may text-boxes is going to be confusing!

Alternatively, there are some treeview/grid combined controls available from 3rd parties. Might be a good fit. Here's (look for TreeListView) a quick search hit (not a specific recommendation - just a search result).


Need Your Help

Why is my QuickSort overflowing?

c++ quicksort partitioning

I'm trying to implement QuickSort() using random pivot

Sorting array of strings causes seg fault

c++ arrays sorting

I'm trying to write a sort to sort an array of strings in ascending order I have the function as: