Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll bars
Message
De
11/03/2001 02:29:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00483850
Message ID:
00483877
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform