I am building a control that contains two TTreeView components next to each other. I need the LHS tree view to NEVER show it's vertical scroll bar, since I control its scrolling from the RHS one. Is there an easy way to do this?
A quick and dirty way of doing this is to put the second TTreeView control inside a TPanel so that the vertical scroll bar is clipped by the TPanel container control. Be sure to set the TPanel.Locked property to True to disable its OLE functionality. Manipulate the TPanel's border properties as necessary to get the desired look.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.