I am attempting to derive a User Control from the ScrollableControl class. I need to have control over which scrollbars get displayed.
According to MSDN:
"To manually override which scroll bars are visible, set the VScroll and HScroll properties. If either property is set to false, the corresponding scroll bar will not be visible, even if the AutoScroll property is set to true."
However, I am either using it incorrectly, or finding that this is not true. I set the HScroll property of the control to false
this.HScroll = false;
but still get the scrollbar. Through debugging, I've found that the HScroll property of the control is, in fact, false.
Short of programming scrollbars "old school" style, does anybody know of an alternative?