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

Treeview control

Status
Not open for further replies.

shangrilla

Programmer
Nov 21, 2001
360
US
Hi:

My treeview browse control with + signs to the left of the text works fine. It expand and contracts when user clicks on the + and - sign repectively. But when they click on the text adjacent to the +/- sign, I get errors. What property or event do I need to work with to fix this.
 
I am not certain of this but I think you need to be looking at the 'Expand' method of your TreeView control. "Work is the best thing ever invented for killing time..."
 
The expand event happens when a user expands a node.
I believe you are looking for the NodeClickEvent. this happens when the user clicks a node object. Attitude is Everything
 
Exactly what errors do you get? They might help.

Ian
 
Thanks Guys. It was the nodeclick event. Its fixed now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top