Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image sizing behavior in webbrowser?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01242738
Message ID:
01242791
Views:
13
>I've added a webbrowser control to my form (thanks to Doug H. for refreshing my memory on NODEFAULT in Refresh). I want to use the webcontrol to display an image. What I'm really after is the image scaling functionality of IE. In other words, if you open an image in IE and the image is too big, IE scales the image to fit the screen. It will then give you the enlarge cursor if you want to go fullsize with the image.
>
>With the webbrowser dropped on my form, all I get is the horizontal scrollbars. I can't seem to find a way to make it shrink/enlarge the image to fit.
>
>Is it possible to do this with the webbrowser control?
>
>Thanks for your help!
>
>Rodd

When you create HTML with IMAGE TAG there are ways to scale it. Just research on IMAGE TAG attribute in HTML reference.

Unfortunately this web-site http://www.w3schools.com/html/tryit.asp?filename=tryhtml_images_adj doesn't really show how to do it.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform