Is the “On Timer” event check-marked for the form? Is the Web Area’s “use embedded Web rendering engine” property check-marked?
> On May 4, 2019, at 10:20 AM, Jeremy French via 4D_Tech <[email protected]> > wrote: > > Hi Pat, > > Try this (in the form’s form method) to initialize the web area: > > ------------- > Case of > : (Form event=On Load) > > WA OPEN URL(*;$objName_webArea_t;"about:blank") > WA SET PAGE CONTENT(*;$objName_webArea_t;" ";"file:///") > SET TIMER(-1) > > : (Form event=On Timer) > > SET TIMER(0) > WA OPEN URL(*;$objName_webArea_t;"about:blank") > WA SET PAGE CONTENT(*;$objName_webArea_t;" ";"file:///") > > // now the web area has been initialized > > End case > ------------- > > Best regards, > Jeremy > > > >> On May 4, 2019, at 8:05 AM, Pat Bensky via 4D_Tech <[email protected]> >> wrote: >> >> WA SET PAGE CONTENT(WebAreaHelp;$HTML;"file:/// <file:///>") >> >> After a new window has been opened, this does not work the first time it is >> called: you just get an empty web area. >> Any subsequent calls - it works. >> >> …I guess the area gets initialised in some way when the page is displayed >> for the first time. > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

