Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web browser control problem
Message
 
 
To
23/05/2002 12:02:07
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00660410
Message ID:
00660652
Views:
16
>Hi Mark,
>
>Thanks for the advice. I'll check into your demo.
>
>I must emphasize that I have these buttons on the doc and not on the VFP form. I can make the latter work successfully. The problems I'm having is related to the fact that the button is now in the doc!
>
>The interesting thing is that this problem happens for any reference to any object on the doc. I cannot set their properties without causing VFP to error. If I ignore the error and resume, thing work ok. I verified this by placing a SET STEP ON just prior to the problem. When the trace window pops up, I simply resume and everything is ok. So it seems to me that there is some kind of timing problem?
>
>Can you set a property for an object in your doc via the browser controls NavigateComplete2 event?

The light is starting to come on. This is an HTML button object? Do you have something like < form action="" method="POST" > in the document? I am just starting developing Web apps, but if this is the case, you have to handle the enabling and disabling of the buttons when the web page is rendered by the server. Once the page is returned to the browser [in this case the browser control], you can not reference any "object" on the web page.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform