Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Browser Control - get parent object
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01508069
Message ID:
01508722
Views:
52
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform