General information
Category:
ActiveX controls in VFP
You can't put scrollbars on an image using the VFP Image class, however you can simulate this behaviour using a scrolling form.
Create a form with the BorderStyle = 3 (sizeable) and ScrollBars = 3 (both) and set the initial size of the form to something reasonable. Drop the standard vfp Image class onto the client area and set its picture property to an image file. Now if your image is larger than the client area, scroll bars will appear on the form and you will now be able to scroll around the form.
It should be noted that there is probably a limitation on the size of the "virtual" form in VFP so really big images (x and y pixels) might not scroll to the full extents of the image?
HTH
Neil
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only