Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for the Calendar control
Message
From
16/08/2011 10:18:43
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01520826
Message ID:
01521091
Views:
75
>>>We already have Web application developed that has all needed functionality. So, my task now is much simpler. I need to display this web page in a form (I will use WebBrowser control) and I need to be able to intercept the clicks. This I'm not sure how to do, can use some help.
>>
>>http://www.glrsoftware.com/download/download.asp?file=FoxHTML.zip
>
>Can you briefly tell me what is in this class?

In a nutshell, if I recall correctly.

The class is a wrapper around the IE object. When a something is clicked (hyperlink or control), a post back occurs. The URL is then sent to the BeforeNavigate event of the IE object. Now, because the url is suffix with a 'VFP:' string you can intercept the post back at the FoxPro level.
Just parse the command you need, preform the VFP action, and upon return the event, set the Cancel parameter to True and exit the event.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform