Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_WebView.vcx
Message
De
30/05/2003 05:21:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
_WebView.vcx
Divers
Thread ID:
00794398
Message ID:
00794398
Vues:
33
Can someone give me an example of code that ensures that a page has fully loaded into the webbrowser of the _webview.vcx.

I'm trying to automate the population of a form on a secure webpage (using the thisform.webcontrol.forms(0).elements("myElement").value = "Hello World!" syntax)

The problem is, I'd like this to happen without having to press a 'Populate the Form' button.
If I call webcontrol.navigate(cUrl) then try and populate the form straight after, it raises an error as the form has not yet loaded.

Any ideas...

ps Here's a good one, the form also uses 'image' type input fields as the submit button, any ideas how I can programatically 'press' these. I've tried Keyboard '{ENTER}' and also webcontrol.forms(0).submit() etc, but these don't work.

Cheers
John
pps I've been trying to crack this for 2 days now tying everything from Javascript popups to Voodoo!
John Taylor MCP

Favorite Starwars Quote: "It's not what you think...she's my sister"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform