Antwise community forums
[VFP] not showing autoyield=.f. - Printable Version

+- Antwise community forums (https://forums.antwise.com)
+-- Forum: Antview (https://forums.antwise.com/forumdisplay.php?fid=11)
+--- Forum: Antview for Windows (https://forums.antwise.com/forumdisplay.php?fid=12)
+--- Thread: [VFP] not showing autoyield=.f. (/showthread.php?tid=193)



[VFP] not showing autoyield=.f. - isaac - 2024-05-24

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..


RE: [VFP] not showing autoyield=.f. - carlos@agpsoftware.com - 2024-09-16

(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.