RE: Web Area not visible

2020-01-03 Thread Mitchell Shiller via 4D_Tech
Hi,

A combination of things solved my problems.

1) If you have multiple web areas on the same page, make sure that the have 
different variable and object names.
2) Be sure and define the variables for the URL and the Progress.

Let me know if that works.

Mitch

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Web Area not visible

2020-01-03 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Jeremy,

First of all the best wishes for 2020

I have the same problem, I am interested in your solution, and sort of 
understand it, but not completely
Some people say loading the content from disk with WA OPEN URL solves the 
problem, but I don't like this because of potential critical information in the 
HTML

So, when having a variable with HTML content in it, that I want to show on 
load, without having to save it on disk where do I put the HTML content?

Thanks in advance,
Piotr Chabot Stadhouders
Rotterdam, Netherlands

-Oorspronkelijk bericht-
Van: Jeremy French  
Verzonden: vrijdag 8 november 2019 04:48
Aan: 4D iNUG Technical <4d_tech@lists.4d.com>
CC: Mitchell Shiller 
Onderwerp: Re: Web Area not visible

Hi Mitch,

I resolved the failure (of the embedded web engine to display when a form 
loads) by calling (in the form's Form Method) the following:

Case of
: (Form event=On Load)

JFU_WEB_AREA_DISPLAY_FIX ("webArea")
SET TIMER(-1)

: (Form event=On Timer)

JFU_WEB_AREA_DISPLAY_FIX ("webArea")
SET TIMER(0)

End case 

JFU_WEB_AREA_DISPLAY_FIX executes:

WA OPEN URL(*;$objName_webArea_t;"about:blank")
WA SET PAGE CONTENT(*;$objName_webArea_t;"";"file:///")

Best regards,
- Jeremy French

> On Nov 7, 2019, at 3:06 PM, Mitchell Shiller via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Anyone else notice this problem?


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web Area not visible

2019-11-07 Thread Jeremy French via 4D_Tech
Hi Mitch,

I resolved the failure (of the embedded web engine to display when a form 
loads) by calling (in the form's Form Method) the following:

Case of
: (Form event=On Load)

JFU_WEB_AREA_DISPLAY_FIX ("webArea")
SET TIMER(-1)

: (Form event=On Timer)

JFU_WEB_AREA_DISPLAY_FIX ("webArea")
SET TIMER(0)

End case 

JFU_WEB_AREA_DISPLAY_FIX executes:

WA OPEN URL(*;$objName_webArea_t;"about:blank")
WA SET PAGE CONTENT(*;$objName_webArea_t;"";"file:///")

Best regards,
- Jeremy French

> On Nov 7, 2019, at 3:06 PM, Mitchell Shiller via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Anyone else notice this problem?

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web Area not visible

2019-11-07 Thread Mitchell Shiller via 4D_Tech
Thanks Kirk. That did it.

Mitch
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web Area not visible

2019-11-07 Thread Kirk Brooks via 4D_Tech
Mitch,
Well I confirm that if you enable the web kit and don't have a url the area
is blank.

But if I set and load a url the are appears as expected. And in this
configuration looks exactly the same as running without.

On Thu, Nov 7, 2019 at 12:06 PM Mitchell Shiller via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Kirk,
>
> I could run Chrome on it, but I need to access 4D methods and that
> requires the embedded engine.
>
> Anyone else notice this problem?
>
>  Takes 1 minute to recreate. New dB. Create a form. Put a web area on it.
> Select use embedded engine. Run form.
>
> Just want to know if it is particular to my setup or if it is A 4D bug?
>
> Thanks
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web Area not visible

2019-11-07 Thread Mitchell Shiller via 4D_Tech
Kirk,

I could run Chrome on it, but I need to access 4D methods and that requires the 
embedded engine.

Anyone else notice this problem?

 Takes 1 minute to recreate. New dB. Create a form. Put a web area on it. 
Select use embedded engine. Run form.

Just want to know if it is particular to my setup or if it is A 4D bug?

Thanks
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web Area not visible

2019-11-06 Thread Kirk Brooks via 4D_Tech
Mitch,
The web engine has been changed in 16r2 to Blink.
https://kb.4d.com/assetid=77745

Are you able to run Chrome on this Mac?


On Wed, Nov 6, 2019 at 12:03 PM Mitchell Shiller via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi,
>
> MacOs 12.6
> 4D v17R6
>
> Create a form.
> Put a Web Area on it.
> Open the form and the Web Area is visible.
>
> Same layout. Select “Use embedded Web rendering engine”.
> Open the form and the Web Area is not visible
>
> Any ideas? What am I missing?
>
> Thanks
>
> Mitch
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**