PDA

View Full Version : expanding a .net treeview node


Insanto
12-07-2010, 06:06 AM
hi,
ive had a look around in the methods and the forum but i couldnt find a way to expand a treeview node manually.

lets say im displaying a folder tree ina treeview inside a mxs rollout and the node.tag.value(s) contain the paths how would i go about expanding node x by given path on i.e. a buttonPress so that it calls the afterexpand handler from the treeview?

thx for the interest

Pjanssen
12-07-2010, 08:58 AM
Is TreeNode.Expand() what you're after?
http://msdn.microsoft.com/en-us/library/system.windows.forms.treenode.expand.aspx

Insanto
12-07-2010, 09:13 AM
oooh in the node itself?!! :rolleyes: :D

thx

CGTalk Moderation
12-07-2010, 09:13 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.