470,562 Members | 2,442 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,562 developers. It's quick & easy.

TreeView, first node always selected...

Using visual studio .NET 2003, VB:
I'm experiencing an issue with a TreeView object when it gets focus - the
first root node in the tree always gets selected when the control gets focus
- even if another node has been clicked on...

Here's my scenario:
In my application, I have a couple of trees fully expanded as it starts up.
The user then selects a node from somewhere in the tree structure.
Unfortuantely, every time I've tested, the first node (i.e. the 1st root
node) in the treeview always gets selected first, then selection changes to
the actual node that was clicked on... since selection of a node triggers
certian events, the erronous selection of the fist node by the .NET control.

Is this how this control's behavior is intented (or supposed) to operate?
Is there anyway to change this behavior?

Any help would be greatly appreciated!
Nov 22 '05 #1
0 1723

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by hzgt9b | last post: by
6 posts views Thread by Tim | last post: by
1 post views Thread by Srinivasa Raghavan | last post: by
4 posts views Thread by Karim El Jed | last post: by
7 posts views Thread by vsiat | last post: by
8 posts views Thread by Matt MacDonald | last post: by
2 posts views Thread by rfm | last post: by
2 posts views Thread by govolsbaby | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.