Click to See Complete Forum and Search --> : Picturebox control
Hutty
Dec 16th, 1999, 03:11 AM
I'm currently clicking through an array of pictures, however, I would like the flexibility of going backwards through the array. I don't think the move.previous/back works. Any ideas?
Also, some of my pictures are bigger than others. I tried the form1.width = ???? to adjust the form to the picture, but that doesn't quite work. Any ideas/
Thanks!
Aaron Young
Dec 16th, 1999, 03:27 AM
If you have an Array of Pictures, simply decrement the Index to go backward through the Array.
If some of your Pictures are too big for the Form, try using another Picturebox as a Container for your Pictures and Add some Scrollbars to allow the User to Move the Picture within the Picturebox Container.
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net
Hutty
Dec 16th, 1999, 07:54 PM
Currently, I have a command button that loops through the picture array. I used the I = 0, I = I + 1, ect. to advanced the pictures. I was trying to use a separate command button that takes I = commandbutton1 I, I = commandbutton1 I -1.
Does this sounds right?
Thanks!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.