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!