Re: Scrollable PictureBox
From: Steve McLellan (sjm_at_fixerlabs.com.NOSPAM)
Date: 03/24/04
- Next message: Ian: "Visual Studio Design view & HTML view"
- Previous message: Ken Varn: "Re: Scrollable PictureBox"
- In reply to: Ken Varn: "Re: Scrollable PictureBox"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Mar 2004 17:43:40 -0000
Hi,
Yeah, this did occur to be one way to do it, and it seems to be smoother
than fiddling around with scrollbars (not to mention easier to code). It
still seems a shame that they didn't add this functionality, since bodging
it like this isn't as smooth as it should be. Still eh, maybe in the next
framework release.
Thanks!
Steve
"Ken Varn" <nospam> wrote in message
news:edDOkNcEEHA.4016@TK2MSFTNGP09.phx.gbl...
> I have done this by placing the PictureBox into a Panel. Set the Panel
> width and height to your desired fixed dimensions. Then, resize the
> PictureBox control to be larger than the Panel Width and Height. The
Panel
> will display scrollbars to allow you to scroll around the image.
>
> --
> -----------------------------------
> Ken Varn
> Senior Software Engineer
> Diebold Inc.
>
> EmailID = varnk
> Domain = Diebold.com
> -----------------------------------
> "Steve McLellan" <sjm@fixerlabs.com.NOSPAM> wrote in message
> news:%23Y5SAlaEEHA.2768@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I'm sure this has been asked before but I can only find a couple of bits
> of
> > homemade code that cause flickering. I know there's no in built way of
> > getting a PictureBox to scroll the pic if the image is too big for it;
is
> > there a recommended (and fast) way of doing it?
> >
> > Thanks,
> >
> > Steve
> >
> >
>
>
- Next message: Ian: "Visual Studio Design view & HTML view"
- Previous message: Ken Varn: "Re: Scrollable PictureBox"
- In reply to: Ken Varn: "Re: Scrollable PictureBox"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|