[RESOLVED] Use of Picture Boxes - JPEG image content, zoom and a design time query
I wish to use several large picture boxes to display diagram information which is available from JPEG files on my drive.
1. When I load one of these to the picture box, only the top left corner of the JPEG image appears in the picture box. How may I cause the whole of my JPEG image to be visible?
2. Having achieved that, if it is possible (and surely it is) is it then possible to make the picture box zoom in on a particular section of the image such that it can be examined in much greater detail?
3. Finally, I will have about ten of these large picture boxes all placed on top of each other on my form (so that they can be as large as possible). At run time this is no problem because only one at a time will have its visible property set to true, but is it possible to do something similar at design time such that the lower level picture boxes may be edited. At design time it seems that the last box I have placed on the form always stays on top, hiding those placed previously. It is agreat nuisance to have to drag aside all the later placed boxes in order to get at and work on an earlier one.
Suggestions will be gratefully received.
ca moore
Re: Use of Picture Boxes - JPEG image content, zoom and a design time query
Quote:
Originally Posted by camoore
3. Finally, I will have about ten of these large picture boxes all placed on top of each other on my form (so that they can be as large as possible). At run time this is no problem because only one at a time will have its visible property set to true, but is it possible to do something similar at design time such that the lower level picture boxes may be edited. At design time it seems that the last box I have placed on the form always stays on top, hiding those placed previously. It is agreat nuisance to have to drag aside all the later placed boxes in order to get at and work on an earlier one.
It is a nuisance, but one, I'm afraid, that you will have to live with. In design, to work on them individually you would have to move them away from the group so the one you are working on is accessiable.
(I'm sure someone else can help with 1 and 2 :) )
Re: Use of Picture Boxes - JPEG image content, zoom and a design time query
Thank you hack. I have made progress with problem 1 through the use of the image box with stretch set to true. I am sending details to VB Rookie who posted a closely related query 8.44 pm 1/5/07. Note the problem I found with az-el distortion.
Regards,
CAM