Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make IE the active window?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01134211
Message ID:
01137496
Views:
26
Timothy,

If the URL contains the text you want:
* BeforeNavigate2
LPARAMETERS pdisp, url, flags, targetframename, postdata, headers, cancel

debugout url

cancel = .t. && prevents the link from triggering normal IE handling of the click.
If you want the clickable text itself you can scan the Links collection:
oDoc = oIE.Document
for each oLink in oDoc.Links
   debugout oLink.href, iif( ! lower( oLink.innerHTML ) $ lower( oLink.href ), oLink.innerHTML, "" )
endfor
>I'm trying to capture some hyperlinked text and return that text to VFP.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform