Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An ActiveX Control for Displaying HTML?
Message
 
 
À
14/07/2003 11:51:10
Eric Sedlacek
TTSS Interactive Products
Rockville, Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00809853
Message ID:
00809915
Vues:
23
Eric,

The MS Webbrowser ActiveX control should do you just fine. You can call it's Navigate() method to direct it to a URL or file.

If you want to write the HTML into the control do something like:
with thisform.OIE
   .Navigate( "about:blank" )
   oDoc = .Document
   oDoc.write( "<html><body>Test</body></html>" )
endwith
>Is there an ActiveX control that can be used to display an HTML page? I ask because I want to have a form where I display an HTML page in one quadrant of the form. So I need a sizable box in which I can display the contents of the page.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform