Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML Dom - web browser control
Message
From
26/09/2005 16:14:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
HTML Dom - web browser control
Miscellaneous
Thread ID:
01053216
Message ID:
01053216
Views:
64
Greetings,

I'm working on an HTML integration utility. The goal is to load an HTML page into the web browser object in VFP and then trap the link the user clicks on so I can save the link source and do some extra processing before sending the user to the next page.

I'm got the page loaded fine and I can grab all the tags by using the getelementsbytagname method. I can loop through the tag elements using the following code:
loNodes = o.Document.getElementsByTagName("A")

FOR EACH loNode IN loNodes

  *** Need code here to assign onclick event?

ENDFOR
Does anyone know the code that I need to write inside this loop to setup the onclick so I can trap it in VFP?

Thanks in advance for the help!!!
Next
Reply
Map
View

Click here to load this message in the networking platform