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

TreeView preventing a node from Collapsing

Status
Not open for further replies.

vasanjs

Programmer
Feb 25, 2001
2
IN
I want to know if there is a way to stop a treeview node from collapsing. I know about the TreeView1.Expand = False statement which you can give in the TreeView1_Collapse event. It serves the purpose, but that event gets triggered after the tree collapses and not before, as a result when there are too many entries under the node the screen gets redrawn. This doesnt look good. Is there a more graceful way of doing it ? Thanks in advance for any help.

Srinivasan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top