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
 
Back
Top