I have a panel (Windows Forms) and I want to disable a panels horizontal scrollbar. I tried this:
HorizontalScroll.Enabled = false;
But that wouldn't work.
How can I do this?
Try to implement this way, it will work 100%
panel.HorizontalScroll.Maximum = 0; panel.AutoScroll = false; panel.VerticalScroll.Visible = false; panel.AutoScroll = true;
1.4m articles
1.4m replys
5 comments
56.8k users