Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browser control control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Browser control control
Divers
Thread ID:
00253953
Message ID:
00253953
Vues:
67
I'm trying to use the web browser control to go to a page,then select the control on my form with setfocus and tab to a link. I have been able to strip the links out of the html, but haven't had any luck getting the tabbing to work.

Here's the code I use to determine the links, but I need to be able to determine what link I'm on when I tab in the control.

cntr=0
For Each link In oie.olecontrol1.document.links
cntr=cntr+1
if link.outerText = 'Next'
_screen.activeform.olecontrol1.setfocus()
lntabs=cntr
endif
Next link

I can put focus on the control with _screen.activeform.olecontrol1.setfocus(), but there's no guarantee that the cursor will be at the topmost link.

Anyone got any ideas?
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform