Jump to content
  • Advertisement
Sign in to follow this  
urgrund

[.net] TreeView - node click keeps collapsing!

This topic is 3770 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've got a treeview, and everytime i click a parent node it will collapse all other parent nodes! Is there a way to stop the tree doing anything regarding it's layout just because a user clicked on a node? cheers! Matt

Share this post


Link to post
Share on other sites
Advertisement
You don't have code that's running on the Node's Click event or something else that's causing this?

Share this post


Link to post
Share on other sites
hey - yes, i've got an AfterSelect and a NodeMouseDoubleClick event handlers, but nowhere is there anycode that relates to the TreeView layout! The code in the event handlers is for selecting Objects in a 3D world. Any idea?

Share this post


Link to post
Share on other sites
Quote:
Original post by urgrund
Any idea?

Nope, since I can't recreate this behavior. You have to be doing something to cause this or you're missing information pertaining to the problem.

Share this post


Link to post
Share on other sites
I can't recreate this, either. I suggest that you look through all of your references of this treeview and see if you have anything that handles the closing of nodes.

Share this post


Link to post
Share on other sites
Shot in the dark: are you sure that you aren't recreating all the child nodes in code directly or indirectly executed at click event?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!