How to attach a scroll bar to a picturebox

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

Guest

as topic, anyone can provide some codes that enable a scroll bar to a picturebox when the picture expand?
 
HI MJ,

Start first with looking what autoscroll = true on your form will do for
you.

I hope that helps?

Cor
as topic, anyone can provide some codes that enable a scroll bar to a
picturebox when the picture expand?
 
Hi,

I would place the picturebox on a panel. I would set the autoscroll
of the panel to true. The panel will handle the scrolling for you if the
picturebox is bigger than the panel.

Ken
 
* "=?Utf-8?B?TUo=?= said:
as topic, anyone can provide some codes that enable a scroll bar to a
picturebox when the picture expand?

You can add the picturebox control to a panel control with 'AutoScroll'
= 'True'. If the pixturebox gets larger than the panel, scrollbars will
be showed. The picturebox provides a 'SizeMode' property which allows
you to specify the size mode.
 
Use Crazy Glue,

but in case that does not work, pub the picture and the scroll bar inside a
panel

francisco



MJ said:
as topic, anyone can provide some codes that enable a scroll bar to a
picturebox when the picture expand?
 
Back
Top