How to make scroll bars invisible

  • Thread starter Thread starter Dino M. Buljubasic
  • Start date Start date
D

Dino M. Buljubasic

I have two controls, a panel holding check boxes and a treeview beside the
panel.

I use buttons to scroll both of thes up and down at the same time but I'd
like to make scroll bars on the controls invisible so I can use only the
buttons for scrolling.

Any help will be appreciated.
 
Hi,

I got a very simple sollution to this.

Put your controls simply into a panel Control, sets its property AutoScroll
to True.

The two controls inside the panel, say another pannel holding checkboxes and
a treeview should have their properties AutoScroll and Scrollable
respectively set to False.

Since panel inherits from ScrollableControl class, the two controls inside
will do the same. Therefore, no need for them to have their own scroll
bars.
 
Back
Top