treeitem and child nodes

  • Thread starter Thread starter Tim Wallace
  • Start date Start date
T

Tim Wallace

Is there a way one can have a treeitem display the plus sign without having
actually added treeitems under it as we could do in pre-.NET days? I only
want to populate child nodes when the user clicks the plus sign.

Tim
 
Tim Wallace said:
Is there a way one can have a treeitem display the plus sign without
having
actually added treeitems under it as we could do in pre-.NET days? I only
want to populate child nodes when the user clicks the plus sign.


I do this by using a dummy child node. Then when the user expands the node,
I remove the dummy, and populate with the actual children.

HTH,
Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top