Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WEB BROWSER control
Message
From
16/10/2002 22:44:44
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00711460
Message ID:
00712154
Views:
9
>Hi!
>
>Just a suggestion:
>
>HTML form object has event called "onsubmit". Also, HTML document has event "onunload". You can probably bind VFP code to these DHTML events using VFP7's EventHandler( ) function. I do not know if it would work ok though - you must unbind VFP code from event before that object destroyed, but I see no good way to do it.
>
>HTH.

OK, just how would you go about binding to the form's OnSubmit function (BTW, it shows as type "O" an object). I don't know of any way to bind to something that's 3 levels deep within the object model. (webbrowser.Document.Forms[x or "KnownFormName"] or webbrowser.Document.KnownFormName)

Besides, this will have to run in VFP6 for now, too.


>>I'm using the Microsoft Web Browser control in a form, and that control is bringing up an ASP script that has some data input and a submit button. I can access all the data elements from the ASP side just fine from within VFP.
>>
>>Is there any way I can tell when the submit button has been pressed and/or get it's return value on the VFP side?
>>
>>TIA!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform