Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Webbrowser4
Message
De
03/11/2010 15:50:38
 
 
À
03/11/2010 03:22:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
01487889
Message ID:
01488069
Vues:
128
>>>>In earlier versions we could type a URL into PEM ctarget and the VFP web browser would navigate to it. Where is the URL placed in the new (VFP 9) browser class to accomplish that same task?
>>>
>>>AFAIK you must use the navigate(cURL) method. However, if all you want to do, is to show a webpage, you can do it very simple:
>>>xx=Newobject('_webform',Home()+'\gallery\_WebView')
>>>xx.OleWebBrowser.Navigate2('http:\\www.swfox.net')
>>>xx.Show()
>>
>>Takk min Norse venn
>
>You're welcome!


How can you tell I am growing older?

I found this on a VFP wesite and I was the author - Gadzooks!!

Create a form
From the components add _webbrowser41 to the form
In the INIT method of the form add this line of code

This._Webbrowser41.Navigate('http://www.google.com')

Run the form

Done
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform