Home All Groups Group Topic Archive Search About
Author
13 May 2007 4:06 PM
Samuel
Is there a way to allow user to scroll an image in the picture box control

I would like to add the following functionality

Scroll bars
Allow user to use the mouse wheel to scroll down the image

Thank you,
Samuel

Author
13 May 2007 6:59 PM
Herfried K. Wagner [MVP]
"Samuel" <samuel.shul***@ntlworld.com> schrieb:
> Is there a way to allow user to scroll an image in the picture box control
>
> I would like to add the following functionality
>
> Scroll bars
> Allow user to use the mouse wheel to scroll down the image

Place the picturebox inside a panel control.  The panel's 'AutoScroll'
property must be turned on.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
13 May 2007 7:18 PM
Samuel
Thank you,

What about the mouse wheel?


Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%234zIUDZlHHA.5084@TK2MSFTNGP03.phx.gbl...
> "Samuel" <samuel.shul***@ntlworld.com> schrieb:
>> Is there a way to allow user to scroll an image in the picture box
>> control
>>
>> I would like to add the following functionality
>>
>> Scroll bars
>> Allow user to use the mouse wheel to scroll down the image
>
> Place the picturebox inside a panel control.  The panel's 'AutoScroll'
> property must be turned on.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>