Yes, _webbrowser4 definitely makes life easier. I ran across others that use the vfps:// "protocol" even though they aren't using the FFC class, so it's something of a standard. Of course, I had to override the RunCode() method to use ExecScript(), it's still using RunCode.prg! :)
>This seems like the best workaround. The web browser control focus issues have always bugged me, and I even tried to get the IE team to change or allow customization of the behavior as a hosted ActiveX control, but it's been like this for years (since IE4 I think). Glad you're having fun with my code in _webbrowser4, and my undocumented VFPS (VFP Script) method. :)
>