Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll bars
Message
From
11/03/2001 02:29:56
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00483850
Message ID:
00483877
Views:
9
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
Map
View

Click here to load this message in the networking platform