Information générale
Catégorie:
Photos et traitement d'images
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement