Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to stuff HTML into a browser control
Message
 
À
20/09/2001 23:09:55
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00559092
Message ID:
00559780
Vues:
16
This message has been marked as the solution to the initial question of the thread.
>Here's the simple: On a form, there's a browser control. In a table, there's a bunch of HTML pages in memos. How can I show them without throwing stuff on disk, checking whether the browser control still has them open, deleting them on the way out etc. The properties published don't give me much of a clue, UT Search currently offline, and nothing in the FAQ. Ergo, anybody?

Try this:

First, navigate to a blank page:
Browser.Navigate("about:blank")
Then, write whatever content you would like to display into the document:
Browser.Document.Open()
Browser.Document.Write(HTMLMemo)
Browser.Document.Close()
Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform