control picturebox ScrollBar position

E

ebiweb

hi all,
how can i control the position of vertical or horizontal scrollbals
of a picture box.

i load a picture in a picturebox , by default the vertical of scroll
bar is at position 0 ;

how can i set it in Middle state of picturebox by programming.



so thnx for any help
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

hi all,
how can i control the position of vertical or horizontal scrollbals
of a picture box.

i load a picture in a picturebox , by default the vertical of scroll
bar is at position 0 ;

how can i set it in Middle state of picturebox by programming.

I do not think this feature ships by default, you will have to write your
own control to do it, using the PictureBox as the base control.

There are several examples of "Owned draw control" in the web. take a look
at those
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top