Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-05 Thread Lee Hinde via 4D_Tech
Thanks. I appreciate that one avenue of effort might be to spend more time on 
tweaking the css to make it work. I’m just trying to see which is the path of 
least resistance.

> On Jan 4, 2018, at 8:00 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> the difference between system vs embedded is more significant on Windows,
> but in general, if a JS/CSS/HTML feature is missing, there should be a decent 
> polyfill to cover that.
> 
> the embedded engine is CEF on v16 64-bit, not the somewhat outdated version 
> of WebKit,
> which generally delivers excellent results on both platforms.
> 
> are you using an existing library "out of the box"?
> it might be misjudging the "browser" it is running on.
> 
> anyway, you shouldn't move away from embedded web area simply because "the 
> display goes hell".
> 
> there should be a good explanation at the JS/CSS/HTML level.
> 
> 2018/01/05 11:31、Lee Hinde via 4D_Tech 
> <4d_tech@lists.4d.com> のメール:
> Again, once I start using the embedded webkit, where I get call-backs 
> built-in, the display goes to hell. It looks fine if I use the system 
> browser. (non-embedded.)
> 

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

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Keisuke Miyako via 4D_Tech
the difference between system vs embedded is more significant on Windows,
but in general, if a JS/CSS/HTML feature is missing, there should be a decent 
polyfill to cover that.

the embedded engine is CEF on v16 64-bit, not the somewhat outdated version of 
WebKit,
which generally delivers excellent results on both platforms.

are you using an existing library "out of the box"?
it might be misjudging the "browser" it is running on.

anyway, you shouldn't move away from embedded web area simply because "the 
display goes hell".

there should be a good explanation at the JS/CSS/HTML level.

2018/01/05 11:31、Lee Hinde via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
Again, once I start using the embedded webkit, where I get call-backs built-in, 
the display goes to hell. It looks fine if I use the system browser. 
(non-embedded.)


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

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Lee Hinde via 4D_Tech
Glad you asked, since this is your fault. :-)

I’m displaying a bunch of images. I want the user to be able to double click on 
the image and have 4D pop-up a different dialog.

Again, once I start using the embedded webkit, where I get call-backs built-in, 
the display goes to hell. It looks fine if I use the system browser. 
(non-embedded.)


> On Jan 4, 2018, at 5:14 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Lee,
> Be more specific about the scope of "talk back".
> 
> The easiest way to directly allow users to interact with a web area
> displaying a page you created is the filter URL option. This is how I use
> web areas and either do something like popup a 4D menu or make a connection
> to an actual web link. I've never tried filtering URLs on a website I
> loaded from the net.
> 
> Anyway, it's really easy if you make anything the user can click on an
> anchor. And it works using the webkit or not.
> 
> if you've got js doing things on the web page or the user is entering data
> and you need to tap on 4D's shoulder to get it to do something the $4d and
> URL callbacks Miyako linked to is what you need. In that case you may have
> to use the webkit.
> 
> On Thu, Jan 4, 2018 at 3:55 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> 
>> without needing a web server license and without using the 'embedded web
>> rendering engine'?
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> 
> 
> 
> -- 
> Kirk Brooks
> San Francisco, CA
> ===
> 
> *The only thing necessary for the triumph of evil is for good men to do
> nothing.*
> 
> *- Edmund Burke*
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

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

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Keisuke Miyako via 4D_Tech
I should have been more clear.

in the examples posted,
$4d is used if the web area is integrated,
but a URL-based callback is used if the web area is system.

2018/01/05 9:50、Lee Hinde via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
Thanks Keisuke, but the integrated webkit can't display the page I'm trying
to render...



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

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Kirk Brooks via 4D_Tech
Lee,
Be more specific about the scope of "talk back".

The easiest way to directly allow users to interact with a web area
displaying a page you created is the filter URL option. This is how I use
web areas and either do something like popup a 4D menu or make a connection
to an actual web link. I've never tried filtering URLs on a website I
loaded from the net.

Anyway, it's really easy if you make anything the user can click on an
anchor. And it works using the webkit or not.

if you've got js doing things on the web page or the user is entering data
and you need to tap on 4D's shoulder to get it to do something the $4d and
URL callbacks Miyako linked to is what you need. In that case you may have
to use the webkit.

On Thu, Jan 4, 2018 at 3:55 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> without needing a web server license and without using the 'embedded web
> rendering engine'?
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 
Kirk Brooks
San Francisco, CA
===

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

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

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Lee Hinde via 4D_Tech
Thanks Keisuke, but the integrated webkit can't display the page I'm trying
to render...

I may have to get less fancy so I can use the callbacks.

Thanks.

On Thu, Jan 4, 2018 at 4:32 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> this example contains both $4d and URL-based callbacks.
>
> https://github.com/miyako/4d-tips-web-area-charts
>
> see also
>
> https://github.com/miyako/4d-utility-compare-webarea-features
>
> ---
>
> either way, web server license is totally unnecessary.
>
> URL-based callback doesn't talk to the web server,
> it simply triggers a form event.
>
> 2018/01/05 8:55、Lee Hinde via 4D_Tech <4d_tech@lists.4d.com d_t...@lists.4d.com>> のメール:
> without needing a web server license and without using the 'embedded web
> rendering engine'?
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Keisuke Miyako via 4D_Tech
this example contains both $4d and URL-based callbacks.

https://github.com/miyako/4d-tips-web-area-charts

see also

https://github.com/miyako/4d-utility-compare-webarea-features

---

either way, web server license is totally unnecessary.

URL-based callback doesn't talk to the web server,
it simply triggers a form event.

2018/01/05 8:55、Lee Hinde via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
without needing a web server license and without using the 'embedded web
rendering engine'?



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

Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Lee Hinde via 4D_Tech
without needing a web server license and without using the 'embedded web
rendering engine'?
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**