Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with PNG
Message
From
05/06/2003 06:16:07
 
 
To
04/06/2003 07:59:09
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nova Scotia, Canada
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00796085
Message ID:
00796552
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform