Horizontal Scrollbar for ListBox

  • Thread starter Thread starter Kenneth
  • Start date Start date
I find a solution for that,

private void hScrollBar1_ValueChanged_1(object sender, System.EventArgs e)
{
this.listBox1.Left = -this.hScrollBar1.Value;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top