AutoScrollBar and Panels

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have a panel with a auto scroll bar, inside the panel I have multiple
labels anda a small datagrid, and I can't scroll the panel up or down using
the middle mouse button, can someone tell me how to do it?

Or at leasat give me a hint?

Thanks in advance for your help and the best regards
 
I can do that just fine. I'm unable to replicate the issue, your mouse is
broken?

Failing that:

hook up panel.mousedown
then

if e.Button == MouseButtons.Middle
this.panel1.AutoScrollPosition = new Point(newX, newY)

should do the trick

failing that, try the API?

hints is all I have i'm afraid......




"Diogo Alves - Software Developer"
 
Back
Top