Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
this.HorizontalScroll.Visible = false;
in the designer
or somewhere in the initialization
panel1.HorizontalScroll.Visible = false;
still found this
const int SB_HORZ = 0;
[DllImport("user32.dll")]
static extern bool ShowScrollBar(IntPtr hWnd, int wBar, bool bShow);
protected override void OnShown(EventArgs e)
{
ShowScrollBar(this.panel1.Handle, SB_HORZ, false);
base.OnShown(e);
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question