Treeview scroll problem

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?
 
G

Guest

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.
 
G

Guest

Mike,

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

~~Bonnie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top