Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_WebView.vcx
Message
From
30/05/2003 05:21:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
_WebView.vcx
Miscellaneous
Thread ID:
00794398
Message ID:
00794398
Views:
32
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"
Next
Reply
Map
View

Click here to load this message in the networking platform