How to scroll the scrollbar of treeview control automatically?
-
I use two treeviews in my form. These treeviews have the same nodes. The thing that i want to do is if i scroll the scrollbar of first treeveiw,i want the scrollbar of the second to be moved automatically like first treeview. I want to see the same nodes on first and second treeview if i scroll the scrollbar of the first or second treeview. If u have any idea to do this, pls point me. Thanks a lot. axiom.kid :confused:
-
I use two treeviews in my form. These treeviews have the same nodes. The thing that i want to do is if i scroll the scrollbar of first treeveiw,i want the scrollbar of the second to be moved automatically like first treeview. I want to see the same nodes on first and second treeview if i scroll the scrollbar of the first or second treeview. If u have any idea to do this, pls point me. Thanks a lot. axiom.kid :confused:
-
I use two treeviews in my form. These treeviews have the same nodes. The thing that i want to do is if i scroll the scrollbar of first treeveiw,i want the scrollbar of the second to be moved automatically like first treeview. I want to see the same nodes on first and second treeview if i scroll the scrollbar of the first or second treeview. If u have any idea to do this, pls point me. Thanks a lot. axiom.kid :confused:
-
But in german. Just use the code. You must create a new class, just called it MyScrollTree and derived from TreeView. http://www.codegod.de/WebAppCodeGod/treeview-scrolling-synchronisieren-AID241.aspx[^]