Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

treeview control

Posted on 2002-04-16
3
162 Views
Last Modified: 2010-05-02
Hi all,

In the treeview control, is there a way to refer to the selected node object itself and I am not talking about referring to its text, image, index etc. Thanks.

Quanb
0
Comment
Question by:Quanb
3 Comments
 
LVL 45

Expert Comment

by:aikimark
ID: 6945262
Dim nodeX as Node
set nodeX = tv1.SelectedNode
0
 
LVL 26

Accepted Solution

by:
EDDYKT earned 60 total points
ID: 6945269
Set nodX = TreeView1.SelectedItem
0
 

Author Comment

by:Quanb
ID: 6945494
just what I am looking for. Thanks.

Quanb
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question