TreeView Control - KEY Property

  • Thread starter Thread starter Richard Markus
  • Start date Start date
R

Richard Markus

I used to make good use of the KEY property on the NODE
object in a TreeView control in VB 6.0. In VB.NET, I do
not find the KEY property for NODES. How do I get the
same functionality?

More: I could maintain a separate array of node index/key
name that I could write a function to convert a key string
to an existing index, but I was wondering if it was built
in somewhere and I was not finding it.

Thanks

Richard Markus
Octagon Software and Consulting, Inc.
Houston, Texas
 
* "Richard Markus said:
I used to make good use of the KEY property on the NODE
object in a TreeView control in VB 6.0. In VB.NET, I do
not find the KEY property for NODES. How do I get the
same functionality?

More: I could maintain a separate array of node index/key
name that I could write a function to convert a key string
to an existing index, but I was wondering if it was built
in somewhere and I was not finding it.

There is no built-in solution. I would suggest to store (key,
'TreeNode') pairs in a 'Hashtable'.
 
Back
Top