Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with PNG
Message
De
05/06/2003 06:16:07
 
 
À
04/06/2003 07:59:09
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nouvelle-Écosse, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00796085
Message ID:
00796552
Vues:
16
Barbara,

If you drop the 'Web Browser Control' component, from the VFP Foundation Classes / Internet, onto a form together with a command button with something like

lcPNGFile = 'file://'+ALLTRIM(GETFILE('png'))
THISFORM._WEBBROWSER41.Navigate(lcPNGFile)

in the button's Click method, it should do the job.

If you want the web browser to resize together with the form drop the 'Resize Object' component, from the VFP Foundation Classes / User Controls onto the form and add

THIS._Resize.AdjustControls()

to the Resize method of the form
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform