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:
01142679
Views:
23
David, all was working well on my form with the IE activeX control and still does EXCEPT when the IE loads and the page displays, clicking EDIT or ADD or whatever on the website has no effect. Thepage runs normally outside of foxpro. Any ideas?


>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.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform