Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get an object via ID from browser control?
Message
 
 
À
26/02/2007 16:09:42
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01198965
Message ID:
01198966
Vues:
19
>I have a bunch of objects in a browser control on a form. I know their IDs. I've tried this:
>
>
	loDoc=loBrowser.object.document
>	loIEctl=lodoc.getElementById(lcKey)
>
>
>Whatever I do, loIeCtl is null. I've tried loDoc.all(lcKey), even
>
loall=lodoc.all
>loiectl=loall.item(lckey)
>but it's still null.
>
>In .beforenavigate2() I'm catching an ID of an object in the URL, and it just works from there. Also tried without the .object. infix, still null.
>
>Anyone got a clue?

I don't have a clue, but check http://forum.foxclub.ru/read.php?29,243904,243907#msg-243907
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform