S
Sahil Malik
I am making a user control.
It has a Hscrollbar,
and a label.
and I have a piece of code that links them together as -
private void hScrollBar1_Scroll(object sender,
System.Windows.Forms.ScrollEventArgs e)
{
label1.Text = hScrollBar1.Value.ToString() ;
}
(Also the relevant event handler) .... Sounds pretty simple huh?
Except, the Maximum Value of my scrollbar is 100, but the damn thing won't
scroll beyond 91.
Please help.
- Sahil Malik
Independent Consultant
You can reach me thru my blog - http://dotnetjunkies.com/WebLog/sahilmalik/
It has a Hscrollbar,
and a label.
and I have a piece of code that links them together as -
private void hScrollBar1_Scroll(object sender,
System.Windows.Forms.ScrollEventArgs e)
{
label1.Text = hScrollBar1.Value.ToString() ;
}
(Also the relevant event handler) .... Sounds pretty simple huh?
Except, the Maximum Value of my scrollbar is 100, but the damn thing won't
scroll beyond 91.
Please help.
- Sahil Malik
Independent Consultant
You can reach me thru my blog - http://dotnetjunkies.com/WebLog/sahilmalik/