Re: Data from 4D to a webpage

2018-01-05 Thread Carl Aage Wangel via 4D_Tech
Ok. Thank Julio, I'll see if I can get it working. Haven't got much experience in this area. Carl >Carl, >Assuming 4D webserver is indeed up and running, then On Web Connection will be called whenever a non-existing page is requested. >Then you can handle it yourself, load the file from

Re: Data from 4D to a webpage

2018-01-05 Thread Janet Jonas via 4D_Tech
I have used web pages where the html/xml was stored in a table in a text field with 4D tags and used On Web Connection to call the correct methods, load the pages, etc. I can then edit the html in Text Wrangler, paste it back into the field, archive page changes, etc. You don’t need it all to

Re: DELAY PROCESS bug

2018-01-05 Thread John DeSoi via 4D_Tech
After this discussion I ran a test server for several weeks before upgrading from 15.4 to 16.3 (Mac 64 bit). No problem running jobs on the server interleaved with DELAY PROCESS. After upgrading the production database to 16.3, a client running this same procedure regularly locks up. It seems

RE: DELAY PROCESS bug

2018-01-05 Thread Drew Waddell via 4D_Tech
@Cannon It's like Inception... I don't want to go down that path -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Cannon Smith via 4D_Tech Sent: Friday, January 05, 2018 1:44 PM To: 4D iNug Technical Cc: Cannon Smith Subject: Re: DELAY PROCESS bug

Re: DELAY PROCESS bug

2018-01-05 Thread Jeffrey Kain via 4D_Tech
Yeah, that's a pretty significant bug. Hopefully they fix it! I tried it on a Windows Server 2012R2 machine running 4D Remote, and did a ctrl-S over the DELAY PROCESS line and then minimized -- same thing. RESUME PROCESS did nothing. > On Jan 5, 2018, at 1:40 PM, Drew Waddell

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

Re: DELAY PROCESS bug

2018-01-05 Thread Cannon Smith via 4D_Tech
> That's not really a solution though, we'd have to write like a process > watching that would have to make a call that process needed to be revived. And then another process to watch the watch dog process in case it stops. And then another one to watch the one watching the watch dog. Etc. :-)

RE: DELAY PROCESS bug

2018-01-05 Thread Randy Engle via 4D_Tech
I might chime in here as well: "Sometimes", under certain conditions, HIDE PROCESS behaves the same as DELAY PROCESS e.g. code should keep executing after HIDE PROCESS, but it gets "delayed" instead. I've not narrowed in down but we are certainly seeing this happen. Are these issues related?

RE: DELAY PROCESS bug

2018-01-05 Thread Drew Waddell via 4D_Tech
Hey Jeff, After I typed it up I realized I probably should have said we are working on Windows but also thought the F4 might have been a giveaway. I was curious about whether it would be different on a Mac. I tried from another process RESUME PROCESS, BRING TO FRONT, and DELAY PROCESS with

Re: DELAY PROCESS bug

2018-01-05 Thread Jeffrey Kain via 4D_Tech
Hmmm... another issue with DELAY PROCESS. We have the issue in v16 where stored procedures that are delayed will sometimes never wake up. In our case, it's our mirror process. Sometimes the stored procedure just stops, forever delayed. It is possible to resume it by opening the Runtime

Re: DELAY PROCESS bug

2018-01-05 Thread Cannon Smith via 4D_Tech
Hi Drew, I wonder if this might be related to the Server Process Frozen issue lots of us have been experiencing. It sounds like the result is pretty much the same. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Jan 5,

DELAY PROCESS bug

2018-01-05 Thread Drew Waddell via 4D_Tech
We are putting in a ticket for this but wanted to see if anyone else has encountered this and found a work around. We haven't investigated it too much to determine if it's an issue outside of interpreted mode but it has us a little worried. Put this code snippet in a method and hit the green

RE: On Column Resize event

2018-01-05 Thread Chip Scheide via 4D_Tech
That will work :) but... it *might* be simpler/ more efficient to use the On mouse enter/On mouse leave event for the listbox and set a process variable, rather then run the mouse location code every time the On Column Resize event fires. // object method - listbox case of :(form event = On

RE: On Column Resize event

2018-01-05 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Based on the tip op Chip (sounds nice), I have created a function that can be used in the "On Column Resize" event: C_TEXT($listbox;$1) C_BOOLEAN($mouse_in_listbox;$0) $listbox:=$1 C_BOOLEAN($mouse_in_listbox) GET MOUSE($mouseX;$mouseY;$mouseButton) OBJECT GET

Re: Curious about "functional programming"

2018-01-05 Thread brianpowers via 4D_Tech
I believe that there is a place for incorporating functional programming aspects into 4d programming. As the size of a given function increases, we have a tendency to grow the number of outside dependencies. (Database calls, Non-locally scoped variables,etc...) Code that has a large number of

Re: Web service null response!

2018-01-05 Thread STARDATA via 4D_Tech
I forgot to say that i'm on 4d v12 -- 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

Re: Data from 4D to a webpage

2018-01-05 Thread Julio Carneiro via 4D_Tech
Carl, Assuming 4D webserver is indeed up and running, then On Web Connection will be called whenever a non-existing page is requested. Then you can handle it yourself, load the file from anywhere, do Process 4D Tags and Web Send Blob/HTML to serve the page. hth julio > On Jan 5, 2018, at

Data from 4D to a webpage

2018-01-05 Thread Carl Aage Wangel via 4D_Tech
Hi, Is it possible to transfer data from 4D (v15) to a webpage when the webpage is not situated in the WebFolder? Like (opening the webpage from 4D). Carl Aage Wangel ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Update from v12.6 to v16.3-64 (Mac)

2018-01-05 Thread Jörg Knebel via 4D_Tech
Arnaud and everyone responding, Thanks to all for the helpful tips. > On 5 Jan 2018, at 05:37 AEDT, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > It sounds like you're not logged in as designer or developer licence is > missing. > I recommend to set the primary keys

Web service null response!

2018-01-05 Thread STARDATA via 4D_Tech
Hi everyone, I'm facing a problem comunicating with a microsoft web service. The problem is that i get back an empty variable checking the response with "GET WEB SERVICE RESULT". The web service is in a cloud domain and it needs authentication. There is even something strange: when i pass the

RE: On Column Resize event

2018-01-05 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Chip, Miyako, @Chip : Thanks, this is a nice tip! But don't you agree it should be easier, and 4D should have thought about this, and implement it another way? @Miyako : I know there is a new auto-resize feature, but this works not as how we want it In fact we have implemented an auto-resize