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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help on TreeView

Status
Not open for further replies.

angelleynes

Programmer
Dec 28, 2001
46
US
Hello,

I need help on how to expand a node with the item selected? basically, i have a treeview populated by the records and I'm using a record number as a key converted to a string, but what i want to do is have the item or node expanded based on what was selected.

thanks!
 
First of all, using numbers as key is a wrong idea, you must accomplish converted number with somethimg else as prefix, for example with symbol _ or one or few letters.
Then try call method NodeClick for selected item
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top