Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying picture files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01008054
Message ID:
01008336
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
Hi David,

>How can you display a jpg file on a form with scroll bars and zoom capabilities?

It's not that difficult to implement a scrollbar with two nested containers and some code in the MouseDown, MouseMove and MouseUp event. An upcoming Advisor issue (June, I think) will contain a small class that displays an image with scrollbars and the possibility to specify a zoom factor.

BTW, if the image should cover the entire form, you can use a form with ScrollsBars=3 and make the image object large enough so that it scales accordingly.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform