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:
01508118
Views:
51
>>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???
>
>Where do you check This.Parent.Name? I have no problem accessing it in the Web Browser control events.

So glad to hear from you! What event are you checking and how? There is no click event and when I tried HTMLDocumentEvents_onclick I got the above error. This is all new to me and I'm sure I'm doing it all wrong. I also need to know how to tell what mouse button was clicked and stuff like that.
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