Selected node in tree view control

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

I've added a Microsoft Tree View control (v 6.0) to a
form in Access 97. I can populate the tree view with no
trouble, and everything works as it should.

Now how do I find the index of the selected node?

Reading the property "tree.Value" throws the error "the
setting that you entered is not valid for the property".

Two other things: First, I'm stuck with Access 97 for
various corporate reasons (read: legacy code). Second, I
tried v 5.0 of the tree view control and got an "Unknown
ActiveX" error message everytime I did something to
trigger an event.

Any pointers appriciated. TIA.

- Jim
 
IIRC, the NodeClick event should provide you the Key of the selected node
.... I stopped using the MS control due to versioning issues... I use the
Mabry control now.
 
Back
Top