resize picture box at runtime

thexero

Active member
Joined
Jan 27, 2007
Messages
26
Programming Experience
3-5
hi

how can i resize a picture box at runtime, keeping the bottom of the picturebox in the same location, and just make the top move

cheers
 
Set it's Anchor property to Top & Bottom (& left & right if needed)

i don't think you understood my question

i want to create the effect that the person in my picture is standing up, so the bottom is of the picturebox is the floor and the top of the picturebox is the persons head

cheers for the reply

is this acheivable?

cheers
 
You have to calculate and set new location and new height, so if you position the control 100px higher in screen you have to add 100px to the height for the bottom line to stay same.
 
Back
Top