|
-
Feb 21st, 2002, 10:31 AM
#1
Thread Starter
Hyperactive Member
resizing picture
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)???
-
Feb 21st, 2002, 11:14 AM
#2
Frenzied Member
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.
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 21st, 2002, 11:14 AM
#3
Frenzied Member
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)
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 21st, 2002, 08:06 PM
#4
Thread Starter
Hyperactive Member
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?
-
Feb 22nd, 2002, 07:46 AM
#5
Frenzied Member
you should be able to apply a picture box to the mdi parent. Just use the picture box as container for you image control!
Sanity is a full time job
Puh das war harter Stoff!
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
|