|
-
Apr 6th, 2008, 12:36 PM
#2
PowerPoster
Re: size a picturebox
 Originally Posted by Kaimonington
Why cant a picturebox become bigger than the screen's size? My picture is bigger than the computer screen is and the picturebox cant show it all. When I make the picturebox the right size by using:
Code:
Picturebox.width = picturebox.picture.width
picturebox.height = picturebox.picture.height
it says that it "Can't create autoredraw image", so I set the autoredraw to false and my game doesnt work properly like that. I cant have the picturebox the wrong size, because when I use picturebox.point, and it does it outside of the picturebox,it doesnt return the right colour which is crucial to the game I am making.
How can I change this?
in visual basic 6 the picturebox don't scroll the image, but you can put the autosize property to true... if your image is more big than your screen, i don't know how can help you... i hope these information help you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|