R
Roger Rabbit
Hello
Ive just made a typo in some code that dynamically adds treenodes to a
parent node.
The result was something silly like this:
dim tn as new treenode("mytext")
...
tn.nodes.add(tn)
This didn't throw an exception but rather (i assume) recursively looped and
hung the application on a test debug and run. Does everyone else get this
kind behaviour? And if so why doesn;t it throw an exception? Treeview is a
UI control. Its impossible to draw this kind of behaviour....at least in
this dimension anyway.
RR
Ive just made a typo in some code that dynamically adds treenodes to a
parent node.
The result was something silly like this:
dim tn as new treenode("mytext")
...
tn.nodes.add(tn)
This didn't throw an exception but rather (i assume) recursively looped and
hung the application on a test debug and run. Does everyone else get this
kind behaviour? And if so why doesn;t it throw an exception? Treeview is a
UI control. Its impossible to draw this kind of behaviour....at least in
this dimension anyway.
RR