Re: Canvas alternative

2017-10-02 Thread John Baughman via 4D_Tech
Not perse. You basically create the SVG in memory and display it on a form in a 
picture variable or field which provides all the normal 4D events. Then based 
on form and mouse events along with mouse x/y positions you modify the SVG 
memory and update the picture field/variable. There are no callbacks but SVG 
provides all the commands you will need to create, resize, move, color, etc,. 
objects in the SVG.

Maybe others have better ways to use SVG, but that is how I do it.

John

> On Oct 2, 2017, at 3:04 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> But can you add the same options to your SVG objects as you can with
> Canvas? Events, callbacks, resizing controls, etc.
> 
> Pat
> 
> On 2 October 2017 at 21:15, John Baughman via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> 
>> Drew,
>> 
>>Ahh yes. I remember now that I too had significant issues going
>> form 1.5 to 2. If I remember correctly, things got a bit testy at the time
>> but with pluggers help we got through it and all is well now.
>> 
>>If you really don’t want to deal with the upgrade to version 2
>> then for you Canvas, as Fonzie once so eloquently demonstrated, has jumped
>> the shark ;-) I would think that SVG is the way to go.
>> 
>>I replaced AreaListPro and DisplayList with native Listbox for the
>> same reason you are looking to replace canvas.
>> 
>> John
>> 
>>> On Oct 2, 2017, at 3:56 AM, Drew Waddell via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>> 
>>> We have used Canvas for quite a long time to do many different things in
>> our application and any time we try to upgrade from 1.5 to 2 functionality
>> changes in too many areas without a workaround.  With only one developer
>> working on the plugin we have found it's difficult to get necessary changes
>> so we always just revert back to 1.5.  We don't want to be stuck on 1.5
>> forever and will probably be forced to upgrade at some point so instead of
>> getting into the same situation with version 2 we are open to the idea of
>> trying something else.
>>> 
>>> Drew
>>> 
>>> -Original Message-
>>> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of John
>> Baughman via 4D_Tech
>>> Sent: Friday, September 29, 2017 3:35 PM
>>> To: 4D iNug Technical
>>> Cc: John Baughman
>>> Subject: Re: Canvas alternative
>>> 
>>> I moved a medical office scheduling dialog I had rolled myself to Canvas
>> a while back and have been very happy with it. I was especially glad I had
>> made the move recently when I had to change appointment minimum times from
>> 15 mins to 10 mins. All I had to do was change a variable.
>>> 
>>> Curious as to why you are moving away.
>>> 
>>> If I were to move from Canvas to something else today, I might take a
>> look at SVG as a possible alternative. At least for my application of
>> Canvas, I think I could do it with SVG.
>>> 
>>> John
>>> 
>>> 
 On Sep 29, 2017, at 9:09 AM, Drew Waddell via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
 
 We are considering trying to remove Canvas from our application.  I am
>> curious if anyone has any alternatives that they would recommend.  We are
>> up for trying to roll our own but were curious if someone has moved from
>> Canvas to something else.
 
 Thanks,
 
 Drew Waddell
 Development Team Lead
 Orchard Software Corporation
 **
 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
 **
>>> 
>>> John Baughman
>>> Kailua, Hawaii
>>> (808) 262-0328
>>> john...@hawaii.rr.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
>>> **
>>> **
>>> 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
>>> **
>> 
>> John Baughman
>> Kailua, Hawaii
>> (808) 262-0328
>> john...@hawaii.rr.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

Re: Canvas alternative

2017-10-02 Thread Pat Bensky via 4D_Tech
But can you add the same options to your SVG objects as you can with
Canvas? Events, callbacks, resizing controls, etc.

Pat

On 2 October 2017 at 21:15, John Baughman via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Drew,
>
> Ahh yes. I remember now that I too had significant issues going
> form 1.5 to 2. If I remember correctly, things got a bit testy at the time
> but with pluggers help we got through it and all is well now.
>
> If you really don’t want to deal with the upgrade to version 2
> then for you Canvas, as Fonzie once so eloquently demonstrated, has jumped
> the shark ;-) I would think that SVG is the way to go.
>
> I replaced AreaListPro and DisplayList with native Listbox for the
> same reason you are looking to replace canvas.
>
> John
>
> > On Oct 2, 2017, at 3:56 AM, Drew Waddell via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > We have used Canvas for quite a long time to do many different things in
> our application and any time we try to upgrade from 1.5 to 2 functionality
> changes in too many areas without a workaround.  With only one developer
> working on the plugin we have found it's difficult to get necessary changes
> so we always just revert back to 1.5.  We don't want to be stuck on 1.5
> forever and will probably be forced to upgrade at some point so instead of
> getting into the same situation with version 2 we are open to the idea of
> trying something else.
> >
> > Drew
> >
> > -Original Message-
> > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of John
> Baughman via 4D_Tech
> > Sent: Friday, September 29, 2017 3:35 PM
> > To: 4D iNug Technical
> > Cc: John Baughman
> > Subject: Re: Canvas alternative
> >
> > I moved a medical office scheduling dialog I had rolled myself to Canvas
> a while back and have been very happy with it. I was especially glad I had
> made the move recently when I had to change appointment minimum times from
> 15 mins to 10 mins. All I had to do was change a variable.
> >
> > Curious as to why you are moving away.
> >
> > If I were to move from Canvas to something else today, I might take a
> look at SVG as a possible alternative. At least for my application of
> Canvas, I think I could do it with SVG.
> >
> > John
> >
> >
> >> On Sep 29, 2017, at 9:09 AM, Drew Waddell via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >>
> >> We are considering trying to remove Canvas from our application.  I am
> curious if anyone has any alternatives that they would recommend.  We are
> up for trying to roll our own but were curious if someone has moved from
> Canvas to something else.
> >>
> >> Thanks,
> >>
> >> Drew Waddell
> >> Development Team Lead
> >> Orchard Software Corporation
> >> **
> >> 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
> >> **
> >
> > John Baughman
> > Kailua, Hawaii
> > (808) 262-0328
> > john...@hawaii.rr.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
> > **
> > **
> > 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
> > **
>
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.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
> **
>



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
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: Canvas alternative

2017-10-02 Thread John Baughman via 4D_Tech
Drew,

Ahh yes. I remember now that I too had significant issues going form 
1.5 to 2. If I remember correctly, things got a bit testy at the time but with 
pluggers help we got through it and all is well now. 

If you really don’t want to deal with the upgrade to version 2 then for 
you Canvas, as Fonzie once so eloquently demonstrated, has jumped the shark ;-) 
I would think that SVG is the way to go. 

I replaced AreaListPro and DisplayList with native Listbox for the same 
reason you are looking to replace canvas.

John

> On Oct 2, 2017, at 3:56 AM, Drew Waddell via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> We have used Canvas for quite a long time to do many different things in our 
> application and any time we try to upgrade from 1.5 to 2 functionality 
> changes in too many areas without a workaround.  With only one developer 
> working on the plugin we have found it's difficult to get necessary changes 
> so we always just revert back to 1.5.  We don't want to be stuck on 1.5 
> forever and will probably be forced to upgrade at some point so instead of 
> getting into the same situation with version 2 we are open to the idea of 
> trying something else.
> 
> Drew
> 
> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of John 
> Baughman via 4D_Tech
> Sent: Friday, September 29, 2017 3:35 PM
> To: 4D iNug Technical
> Cc: John Baughman
> Subject: Re: Canvas alternative
> 
> I moved a medical office scheduling dialog I had rolled myself to Canvas a 
> while back and have been very happy with it. I was especially glad I had made 
> the move recently when I had to change appointment minimum times from 15 mins 
> to 10 mins. All I had to do was change a variable.
> 
> Curious as to why you are moving away.
> 
> If I were to move from Canvas to something else today, I might take a look at 
> SVG as a possible alternative. At least for my application of Canvas, I think 
> I could do it with SVG.
> 
> John
> 
> 
>> On Sep 29, 2017, at 9:09 AM, Drew Waddell via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> We are considering trying to remove Canvas from our application.  I am 
>> curious if anyone has any alternatives that they would recommend.  We are up 
>> for trying to roll our own but were curious if someone has moved from Canvas 
>> to something else.
>> 
>> Thanks,
>> 
>> Drew Waddell
>> Development Team Lead
>> Orchard Software Corporation
>> **
>> 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
>> **
> 
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.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
> **
> **
> 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
> **

John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.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: Resolving format

2017-10-02 Thread Jeremy Roussak via 4D_Tech
Thanks, both.

Spencer, that’s ingenious!

Arnaud, that’s what I’ve been doing until now, under v14. I downloaded a trial 
of v16 over the weekend, and the call to API Get Indexed Resource failed with a 
permissions error of some kind. 

It may be connected with my calling it from a component, I suppose, but it 
works well under v14. I’ll dig some more.

Jeremy


Jeremy Roussak
j...@mac.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: NGINX Config

2017-10-02 Thread Epperlein, Lutz (agendo) via 4D_Tech
SSL certificates are tied to a domain, not to physical computer. A client 
(browser) is not able to resolve to a physical machine. And this is a good 
thing! I can't imagine what will happen if clients would get information of our 
physicals machines even it would be the MAC address only.

The browser is able to check the domain the responses come from.

Regards
Lutz

--  
Lutz Epperlein  
--
Agendo Gesellschaft für politische Planung mbH
Köpenicker Str. 9
10997 Berlin
http://www.agendo.de/
--



> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Doug Hall via
> 4D_Tech
> Sent: Monday, October 2, 2017 5:31 PM
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Cc: Doug Hall 
> Subject: Re: NGINX Config
> 
> RE: Note if you enable 443 and ssl for any server you must have a cert for
> all
> servers listening on 443 you cant mix them up.
> 
> We only have the one physical server (running 4D in remote mode). You
> aren't talking about the different domains being served from that one
> machine are you? SSL certificates are tied to the physical server
> (computer), not nginx server block/domain name, right?
> 
> Thanks,
> Doug
**
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: NGINX Config

2017-10-02 Thread Doug Hall via 4D_Tech
RE: Note if you enable 443 and ssl for any server you must have a cert for
all
servers listening on 443 you cant mix them up.

We only have the one physical server (running 4D in remote mode). You
aren't talking about the different domains being served from that one
machine are you? SSL certificates are tied to the physical server
(computer), not nginx server block/domain name, right?

Thanks,
Doug

On Mon, Oct 2, 2017 at 1:49 AM, Paul Dennis via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hello Jason,
>
> I ve been doing this for years my config is simpler. Dont understand why
> you
> need to define the upstream and rewrite for a simple proxy. I just have a
> server block (nginx jargon) as follows.
>
> server {
> listen   443 ssl;
>
> server_name  dashboard.xxx.com;
> client_header_buffer_size 2k;
> large_client_header_buffers 8 12k;
> client_max_body_size 20m;
> ssl_certificate
> /etc/letsencrypt/live/dashboard.xxx.com/fullchain.pem;
> ssl_certificate_key
> /etc/letsencrypt/live/dashboard.xxx.com/privkey.pem;
>
> location / {
> proxy_pass   http://192.168.1.20:8086/;
> }
>
>
> Note if you enable 443 and ssl for any server you must have a cert for all
> servers listening on 443 you cant mix them up.
>
>
>
>
>
>
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 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: Resolving format

2017-10-02 Thread Arnaud de Montard via 4D_Tech

> Le 2 oct. 2017 à 11:06, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> If have defined, for example, “|Money” in the Filters tab of Toolbox as 
> "£#,###,##0;-£,##0”, I’d like to be able to resolve the format name into 
> the text of the format.
> 
> Is there a valid way in which it can be done?

I didn't dig very far, but it seems APIpack can do that

open API pack demo, "File/Internal ressources" menu, see the "Format & filters" 
tab in the form. 

-- 
Arnaud de Montard 



**
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: Canvas alternative

2017-10-02 Thread Two Way Communications via 4D_Tech
I have done quite some work with SVG lately. It is very powerful, especially if 
you combine it with the 4D XML DOM commands.
I have been able to draw a complete map that contains pictures, objects like 
rectangles, ellipses, polygons and even custom made objects with specific 
attributes.

A good place to start is the tech note SVG Area which lets you create, edit and 
move basic shapes. (I’m sorry, I couldn’t find the exact tech note reference)

Though I know that some developers have built their own calendar into SVG, I 
would preferably use hmCal. Very solid and decent support.

Met vriendelijke groeten,

Rudy Mortier
Two Way Communications bvba  -



> On 02 Oct 2017, at 15:56, Drew Waddell via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> We have used Canvas for quite a long time to do many different things in our 
> application and any time we try to upgrade from 1.5 to 2 functionality 
> changes in too many areas without a workaround.  With only one developer 
> working on the plugin we have found it's difficult to get necessary changes 
> so we always just revert back to 1.5.  We don't want to be stuck on 1.5 
> forever and will probably be forced to upgrade at some point so instead of 
> getting into the same situation with version 2 we are open to the idea of 
> trying something else.
> 
> Drew
> 
> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of John 
> Baughman via 4D_Tech
> Sent: Friday, September 29, 2017 3:35 PM
> To: 4D iNug Technical
> Cc: John Baughman
> Subject: Re: Canvas alternative
> 
> I moved a medical office scheduling dialog I had rolled myself to Canvas a 
> while back and have been very happy with it. I was especially glad I had made 
> the move recently when I had to change appointment minimum times from 15 mins 
> to 10 mins. All I had to do was change a variable.
> 
> Curious as to why you are moving away.
> 
> If I were to move from Canvas to something else today, I might take a look at 
> SVG as a possible alternative. At least for my application of Canvas, I think 
> I could do it with SVG.
> 
> John
> 
> 
>> On Sep 29, 2017, at 9:09 AM, Drew Waddell via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> We are considering trying to remove Canvas from our application.  I am 
>> curious if anyone has any alternatives that they would recommend.  We are up 
>> for trying to roll our own but were curious if someone has moved from Canvas 
>> to something else.
>> 
>> Thanks,
>> 
>> Drew Waddell
>> Development Team Lead
>> Orchard Software Corporation
>> **
>> 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
>> **
> 
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.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
> **
> **
> 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: 4D crash

2017-10-02 Thread Charles Miller via 4D_Tech
I am not having this problem but I would remove kaspersky and not use US
security feel a it is hazardous. Have you run mac on structure. If not you
should
Regards
Chuck

On Fri, Sep 29, 2017 at 2:15 AM stardata.info via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi All,
>
> I use 4D V13 an V15 on windows 8.1 pro with Kaspersky or Avira .
>
> More times when i go in designer mode 4D crash.
> I try more times and finally i go in designer mode.
> Sometimes i go in roaming folder and delete the preference and the
> application folder, but for me there are another reason for thi issue.
> Someone have the same problem?
>
> Thanks
> /Ferdinando/
> **
> 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
> **

-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
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: Canvas alternative

2017-10-02 Thread Drew Waddell via 4D_Tech
We have used Canvas for quite a long time to do many different things in our 
application and any time we try to upgrade from 1.5 to 2 functionality changes 
in too many areas without a workaround.  With only one developer working on the 
plugin we have found it's difficult to get necessary changes so we always just 
revert back to 1.5.  We don't want to be stuck on 1.5 forever and will probably 
be forced to upgrade at some point so instead of getting into the same 
situation with version 2 we are open to the idea of trying something else.

Drew

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of John Baughman 
via 4D_Tech
Sent: Friday, September 29, 2017 3:35 PM
To: 4D iNug Technical
Cc: John Baughman
Subject: Re: Canvas alternative

I moved a medical office scheduling dialog I had rolled myself to Canvas a 
while back and have been very happy with it. I was especially glad I had made 
the move recently when I had to change appointment minimum times from 15 mins 
to 10 mins. All I had to do was change a variable.

Curious as to why you are moving away.

If I were to move from Canvas to something else today, I might take a look at 
SVG as a possible alternative. At least for my application of Canvas, I think I 
could do it with SVG.

John


> On Sep 29, 2017, at 9:09 AM, Drew Waddell via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> We are considering trying to remove Canvas from our application.  I am 
> curious if anyone has any alternatives that they would recommend.  We are up 
> for trying to roll our own but were curious if someone has moved from Canvas 
> to something else.
> 
> Thanks,
> 
> Drew Waddell
> Development Team Lead
> Orchard Software Corporation
> **
> 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
> **

John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.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
**
**
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: Resolving format

2017-10-02 Thread Spencer Hinsdale via 4D_Tech

Hi Jeremy,

I don't know.

I think it you use Filters and Formats to enter the format, i.e."£###,###" it 
is saved somewhere in your Structure and may be inaccessible.

However you do have a Localization mechanism available, which works sort like 
this (stop me if you've heard this one before):

toolbox, filters and format, |Money, Definition = ":20001;1"

then adjacent your structure in your resources folder:
resources:en.lproj:structureEN.xlf


http://doc.4d.com/4Dv16/4D/16/XLIFF-and-translation.200-3246844.en.html

Then, Get Indexed String(20001;1) would give you "£###,###"

Or you could access your resources file with xml commands:
$path:=get 4d foler(resources folder)+folder 
separator+"en.lproj"+folder separator...

hth,

spencer

> On Oct 2, 2017, at 2:06 AM, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> If have defined, for example, “|Money” in the Filters tab of Toolbox as 
> "£#,###,##0;-£,##0”, I’d like to be able to resolve the format name into 
> the text of the format.
> 
> Is there a valid way in which it can be done?
> 
> Jeremy
> 
> 
> Jeremy Roussak
> j...@mac.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
> **

**
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
**

Resolving format

2017-10-02 Thread Jeremy Roussak via 4D_Tech
If have defined, for example, “|Money” in the Filters tab of Toolbox as 
"£#,###,##0;-£,##0”, I’d like to be able to resolve the format name into 
the text of the format.

Is there a valid way in which it can be done?

Jeremy


Jeremy Roussak
j...@mac.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: NGINX Config

2017-10-02 Thread Paul Dennis via 4D_Tech
Hello Jason,

I ve been doing this for years my config is simpler. Dont understand why you
need to define the upstream and rewrite for a simple proxy. I just have a
server block (nginx jargon) as follows.

server {
listen   443 ssl;

server_name  dashboard.xxx.com;
client_header_buffer_size 2k;
large_client_header_buffers 8 12k;
client_max_body_size 20m;
ssl_certificate
/etc/letsencrypt/live/dashboard.xxx.com/fullchain.pem;
ssl_certificate_key
/etc/letsencrypt/live/dashboard.xxx.com/privkey.pem;

location / {
proxy_pass   http://192.168.1.20:8086/;
}


Note if you enable 443 and ssl for any server you must have a cert for all
servers listening on 443 you cant mix them up.






--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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
**