<Janie May> schrieb im Newsbeitrag
news:ew**************@tk2msftngp13.phx.gbl...
When I am debugging I can see when treenode.nodes is empty
because the count property of nodes will be zero, but at design
time the count property is non existant. Is there anyway of checking
whether a node has a child node without using try/catch ?
'Try...Catch' is a runtime check. At runtime you can check the 'Count'
property, at design-time you can check the nodes collection in the nodes
editor.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>