Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying picture files
Message
 
 
À
25/04/2005 09:23:52
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:
01008089
Vues:
17
David,

This sort of code will zoom in on an image:
with this
   .Height = .Height * 2
   .Width = .Width * 2
   .Left = ( thisform.Width - .Width ) / 2
   .Top = ( thisform.Height - .Height ) / 2
endwith
this zooms out:
with this
   .Height = .Height / 2
   .Width = .Width / 2
   .Left = ( thisform.Width - .Width ) / 2
   .Top = ( thisform.Height - .Height ) / 2
endwith
If you used the ActiveX scrollbar to provide scrolling and use them to alter the .Left and .Top of the image control to provide scrolling.

>How can you display a jpg file on a form with scroll bars and zoom capabilities? Thanks.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform