MS TreeView keeps collapsing

Lukky

New Member
Hello all,

My app uses the MS TreeView OCX, but strangely enough, whenever the user clicks on a node (or uses the arrow keys to navigate the tree), the unselected nodes keep collapsing, which is not what I want.

I'd like for the TreeView to always be expanded all the way to the lowest levels for all nodes.

Have any of you come across this situation ?

Have you been able to workaround it ?

Many thanks
 

jongpau

Member
Hi Luc,

1. Make sure you use TreeView & ImageList v 6.0
2. In the properties of the TreeView you can set the "SingleSel" (hope I spelled it right, am doing this from memory) attribute . Make sure that is not checked (True). You can probably also set it dynamically.

HTH.
 
Top