Treeview scroll problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a treeview control on a form with Scrollable=True.

If a user scrolls the list and then selects a node, the selected node
returned by the AfterSelect event is always the topmost visible node in the
list, not the node selected.

This also happens for the click event, but double-click works ok.

Can someone suggest a workaround for this behaviour?
 
Sorry,

I forgot to add that the behaviour only occurs when the vertical scrollbar
is visible. That is, when the treeview is larger than the available view.
 
Mike,

What version of .NET are you using? This should work. It works fine for me
using 1.1 Framework with C#.

~~Bonnie
 
Back
Top