Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve Selected Node's Tag

Status
Not open for further replies.

Fletch12

IS-IT--Management
Aug 13, 2002
140
US
I have a form with a variable number of treeview's, each with a variable number of nodes. I have loaded this information from a database which works fine. However, I cannot figure out how to retrieve the tag of whichever node is selected when I press a button to move to another form. Can someone help me with retrieving the selected node?
 
Get the currently selected node with TreeView1.SelectedNode

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top