Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WebBrowser control and container border
Message
De
05/02/2017 10:44:36
 
 
À
05/02/2017 06:05:22
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01647517
Message ID:
01647524
Vues:
58
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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform