JS
Jim Stewart
July 17, 2003 06:03 PM UTC
Well I answered my own question - but it brings up an interesting ... issue? ...problem?
I was creating nodes thus:
TreeNodeAdv tNode = new TreeNodeAdv ("");
tNode.NodeData.ShowCheckBoxe = true; // or false
parentNode.Nodes.Add (tNode);
This procedure failed to show the check boxes interactively.
However, when I changed the order of operations, thus:
TreeNodeAdv tNode = new TreeNodeAdv ("");
parentNode.Nodes.Add (tNode);
tNode.NodeData.ShowCheckBoxe = true; // or false
Viola! The check boxes appear (or don't appear) as required.
Now. Why should it make any difference whatsoever which order I perform these operations? It seems unnecessarily confusing to me. Any guidance would be appreciated.
Jim Stewart