Is there anyway of coding the resizing of an imported picture by the user in VB according to my picturebox size? (the program code will do it, so it becomes automated, the user doesn't have to resize it manually)???
Printable View
Is there anyway of coding the resizing of an imported picture by the user in VB according to my picturebox size? (the program code will do it, so it becomes automated, the user doesn't have to resize it manually)???
you could put an image control inside of the picbox
set the stretch property to true and set the image controls borders according to the picbox.
well another way is to load the picture into some DC and than stretchblt it onto the picbox. (If you do not want another control)
how do i enable a scrollbar for a form?
also, watever u told me above worked! thank you, i had to use an imagebox instead of a picture box.
The thing is that it only works for imageboxes in a form.
Any suggestions for how I can apply the same in the MDI parent?
you should be able to apply a picture box to the mdi parent. Just use the picture box as container for you image control!