Rick,
I know I must be missing something here. Since there is no click event or mouse down event in the browser control I was trying to trap for those using
HTMLDocumentEvents_onclick()
from your white paper. That was where the wait window error was coming from.
So, how do I read a property and send it to my program when the user clicks on the browser control? I can have any number of browser controls on a form and I need to know which one they selected so I can set the HTML for that one.
Thanks,
John
>The parent object should work. Just make sure you call it (and just about any other document properties) after the document has completed loading...
>
>+++ Rick ---
>
>>I have worked out almost all my problems with the blasted browser control. However I have a number of the controls within a number of different containers and when the user clicks on a browser control I can't find a way to determine which one was clicked on. The browser control just crashes with the code
WAIT WINDOW THIS.PARENT.NAME
. .Parent does not work.
>>
>>I found I can add the parent object as a property to the browser object. Now, how do I read it???
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn