Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_webbrowser4 handling
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00695931
Message ID:
00695971
Vues:
9
Hi Guenter,

This class is a wrapper around MS Webbrowser Control. Drop MS Webbrowser Control on the form, add NODEFAULT to the refresh method to fix known problem and you're set.

>So (Sergey),
>(as I found out that one can easily display JPGs and static GIFs in VFP natively, the next wish cropped up: animated GIFs and styled text!)
>
>I tried the _webbrowser control and got it working. As I need a lean as can
>get object (w/o history, GoBack, Search, Parse,....) for lowly P133s, I copied the _webview.vc? files and stripped the class of all its full VFP browser fat (properties and methods) and reset the standard ones to Default.
>
>Avoided an "Unknown Name" error by feeding it
>this.oleIE.Navigate("file://c:\my\blank.htm")
>in the Init method.
>
>With another Navigate() I feed it a picture-URL, like
>oForm1.oleIE.Navigate("file://c:\my\"+myPicPath)
>
>Spuriously I still get the "Unknown Name" error in
>oForm1.Show
>
>On Resume the first pic shows, but no subsequent ones and LocationURL stays the same.
>oForm1.oleIE.Enable=.t. throws the same "Unknown Name" error, but then the right pic shows.
>When I catch the error with ON ERROR it does not.
>
>So this must be something with window / control activation,...
>
>AND: Can´t find any docs on the _webbrowser4 standard properties and
>methods, only the custom ones...?
>
>Hope for takers, otherwise need to spend another coupla hours to analyze the example.
>Thx
>Günter
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform