>> Does anyone know if it is possible to implement a custom VFP
>> context/shortcut menu on the web browser control hosted in a VFP form?
>
>I posted a more complex query a couple of months ago, having solved the one above in the way Dragan describes, as well as the next step which is getting the browser to talk to elements in an HTML document. My question was how to get the browser to talk back to and manipulate Javascript and/or SVG elements in a SVG document.
>
>I haven't cracked this one yet. A demo on the web shows how to create an event listener to do it in C# and I was halfway through trying it before I got distracted.
>
>Anyway, various things like 'getElementById', 'getSVGDocument' and 'InvokeMember' have not worked yet from VFP9. Anyone know of working examples on the web?
I didn't try the latter two, but getElementById() works for me:
loBrowser=THIS.oBrowser
loDoc=loBrowser.DOCUMENT
loIEctl=loDoc.getElementById(lcKey)