Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VFP] not showing autoyield=.f.
#2
(2024-05-24, 07:00:57)isaac Wrote: Just posting this, hope it will help anyone else

while testing this control in VFP i came across, an issue i had long time with windows built-in web browser control ( Shell.Explorer.2 ), at as sometimes it doesn't show anything.

after having the same issue with this control, I decided to get the the bottom of it.

long story short,  i have another ActiveX control that suggest in its documentation to set application.autoyield =.f. 

it look like this control and so  Shell.Explorer.2  works only with  application.autoyield =.t.  (at lease it is required when you use JavaScript events  that update the  the page, with   application.autoyield =.f. the JS events running on the page is blocked from updating the page)

so now instead of having my  application.autoyield =.f. for the whole of my application i only set it to false when activating a form that has that particular control and setting it back to True hen that form lost focus.

so now i fixed the issue with antview and  Shell.Explorer.at the same time.


hope this will help anyone..

Many thanks, Isaac. For me will be very interesting. I am to begin developing a tool in VFPA for automate a search in a web site.
Reply


Messages In This Thread
[VFP] not showing autoyield=.f. - by isaac - 2024-05-24, 07:00:57
RE: [VFP] not showing autoyield=.f. - by carlos@agpsoftware.com - 2024-09-16, 07:52:44

Forum Jump:


Users browsing this thread: 1 Guest(s)