I take that back. RunCode.prg has been updated to use ExecScript(), and it looks like there is code in there to transform semi-colons into CR_LF.
>It was a great idea. I run tons of VFP code from the url. I even defined #! as chr(13) and run multiline code
>>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. :)
>>>