Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll bars around an image control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00395668
Message ID:
00395682
Vues:
15
>I have an image control which I am trying to use to display a scanned invoice. If I display the image with the stretch property set to 1 (isometric), the invoice looks correct, but is too small to read. If I set the stretch property to 0 (clip), the image is full size and can easily be read, but only the upper left corner is displayed. Can I somehow wrap the image control in a container which would allow me to display the image in full size and allow the user to scroll around similar to a print preview?
>
>Kind Regards,
>
>Mat

You can place an image to the container, and somewhere in FoxPro advisor (I think) there was an article how to make scrollable container.

Two alternative ideas:

1. Use another (VFP 6) Form with form.Scrollbars = 3 (may be Modal form) as the container for your image.

2. Use WebBrowser control for showing your image (in appropriate file format). I has native scrollbars anyway.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform