Link to home
Start Free TrialLog in
Avatar of mike_pro
mike_pro

asked on

Zoom out

I have a app in which a panel contains roughly 100 picture boxes all with varying size pictures which you can scroll using the panel to see them all. Is there any way that i can zoom out so you can see more of these picture boxes. And also then be able to zoom back in :)

Cheers!
Avatar of wht1986
wht1986
Flag of United States of America image

how about setting the image mode of the picture box to Stretch Image. and then having a zoom slider to set the zoom level. at which point just change the size of the picture box and the image inside will scale automatically.
Avatar of kaufmed
I believe you will have to loop through the panel's controls collection and set the size of each picture box to something smaller. You may then have to do some shuffling of the pb's (e.g. put 5 on one row instead of 4).
ASKER CERTIFIED SOLUTION
Avatar of wht1986
wht1986
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial