Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make IE the active window?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01134211
Message ID:
01142679
Vues:
17
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."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform