Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebBrowser control and container border
Message
From
05/02/2017 10:44:36
 
 
To
05/02/2017 06:05:22
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01647517
Message ID:
01647524
Views:
57
H Greg
Is your web browser updated to work with ie11 or edge emulation ?
mine is IE11 emulation and i dont see borders you talk on (see the photo attached).

if not you can read this post:
http://yousfi.over-blog.com/2015/01/who-said-that-vfp-ie-browser-died.html

the old vfp browser initially emulated as IE7 can be transformed with a simple registry change to work as modern browser (ie11 or edge).
you can also add programmatly a small code to the header to make it as above (here edge emulation)
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
this can be done with vfp & DOM syntax with "createElement".

if you have borders on the oleBrowser, yes a container as you mentioned solves the problem (make the olecontrol fills more the area & olecontrol.anchor=15)
Can you Post a photo to see the borders effect

update : try this after transitionnings (oBrowser.downloadComplete method or readystate=4)
thisform.oBrowser.Document.body.Style.Border = "none"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform