John Smith - 2013-12-24

I would like to be able to turn the scroll bars on and off as I please, but I can't see how. It seems that even if I set the scroll bar control visibility to false, the scroll bars still appear on the control when the contents exceed its container. This very much looks like the behavior of a control with AutoScroll functionality (i.e. the scroll bar visibility is changed by the control as needed). The problem is that AutoScroll is not a property of TreeViewAdv (as it inherits from controls as opposed to ScrollableControl), and I can therefore not set AutoScroll to false (which would be the normal way to fix this).

How can I modify this behavior. My plan is to create a property "ScrollsVisible", and then place an If/Then around the code drawing the scroll bars that references the property, but I cannot find that code either.

Any help would be greatly appreciated,
John

 

Last edit: John Smith 2013-12-24