Re: Worker and UI

2020-03-27 Thread Douglas von Roeder via 4D_Tech
Peter: I’ve been using Call worker to display a large ALP Area - 3k to 30k rows and 115 columns. The UI supports a palette that communicates with all of the windows and the windows communicate with each other so that when a value is changed in one window, Call form is used to initiate the update

Re: Worker and UI

2020-03-27 Thread Peter Bozek via 4D_Tech
On Fri, Mar 27, 2020 at 9:14 PM Douglas von Roeder wrote: > Peter: > > "My understanding of a worker is a process that can (potentially) run on > different core or processor - what means, communicating with other > processes with messages only, limited ability to share data, no > interprocess

Re: Worker and UI

2020-03-27 Thread Douglas von Roeder via 4D_Tech
Peter: "My understanding of a worker is a process that can (potentially) run on different core or processor - what means, communicating with other processes with messages only, limited ability to share data, no interprocess variables, no GET / SET PROCESS VARIABLE and no UI.” I don’t see

Re: Worker and UI

2020-03-27 Thread Peter Bozek via 4D_Tech
On Fri, Mar 27, 2020 at 8:01 PM Douglas von Roeder wrote: > Peter: > > "Worker cannot display anything.” > Why do you say that? > My understanding of a worker is a process that can (potentially) run on different core or processor - what means, communicating with other processes with messages

Re: Worker and UI

2020-03-27 Thread Douglas von Roeder via 4D_Tech
Peter: "Worker cannot display anything.” Why do you say that? -- Douglas von Roeder 949-910-4084 On Fri, Mar 27, 2020 at 11:50 AM Peter Bozek via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On Fri, Mar 27, 2020 at 5:29 PM Jeremy Roussak via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > v18.1,

Re: Worker and UI

2020-03-27 Thread Douglas von Roeder via 4D_Tech
I’ve used Call worker with the dialog command. Call worker seems to be "yet another way" to open a process but it doesn’t return a process ID. Similar to New process, you can name the process and pass parameters. If you’re closing the dialog and want the process to terminate, just call Kill worker

Re: Worker and UI

2020-03-27 Thread Peter Bozek via 4D_Tech
On Fri, Mar 27, 2020 at 5:29 PM Jeremy Roussak via 4D_Tech < 4d_tech@lists.4d.com> wrote: > v18.1, Mac > > What can a worker process do by way of UI? Are there any restrictions? > I am not sure what you want to achieve, but yes, there is a restriction: no UI for worker. None. Worker cannot

Re: Display entity selection time fields in a list box?

2020-03-27 Thread John DeSoi via 4D_Tech
No, that is a compatibility setting for older 4D versions where time values were converted to milliseconds instead of seconds. Hoping some day there will be an option to just use time values instead of numbers. That was done for dates (instead of strings), seems like it should be possible for

Re: Display entity selection time fields in a list box?

2020-03-27 Thread kculotta via 4D_Tech
Would this affect the display? https://doc.4d.com/4Dv18/4D/18/Database-Parameters.302-4504404.en.html section "Times inside objects " > On Mar 27, 2020, at 11:51 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I'm replacing some record based list boxes with entity selection

Re: Worker and UI

2020-03-27 Thread John DeSoi via 4D_Tech
I don't see why it would not work. I'm not aware of any real difference between a worker and a regular 4D process except that a worker has queue of requests and lives until killed whereas a regular process executes one request and exists. I tend to use the 4D progress component with some

Re: Display entity selection time fields in a list box?

2020-03-27 Thread Jeremy Roussak via 4D_Tech
John, I had the same issue recently. I couldn’t think of any other way. Jeremy On 27 Mar 2020, 16:52 +, John DeSoi via 4D_Tech <4d_tech@lists.4d.com>, wrote: > I'm replacing some record based list boxes with entity selection list boxes. > I want to see HH MM SS format which was easy and the

Display entity selection time fields in a list box?

2020-03-27 Thread John DeSoi via 4D_Tech
I'm replacing some record based list boxes with entity selection list boxes. I want to see HH MM SS format which was easy and the default with selection list boxes. But since ORDA treats time as a number, the only way I see to do that is to wrap the field property path with the Time function,

Worker and UI

2020-03-27 Thread Jeremy Roussak via 4D_Tech
v18.1, Mac What can a worker process do by way of UI? Are there any restrictions? Situation: I have a task which takes a while to set up but which, once set up, runs swiftly, perhaps quite often. At present, I just wait for the setup to complete, but while it’s only a few seconds, it’s boring.

Re: v17.4 and UUIDs

2020-03-27 Thread Chuck Miller via 4D_Tech
> On Mar 27, 2020, at 11:58 AM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > not 100% sure, but maybe the duplicates are actually nulls. I assume you are correct > > if you display the UUID fields in a list form, and resize the window, do the > values change? > > if

Re: Text Editor Which Knows 4D Tags?

2020-03-27 Thread Keisuke Miyako via 4D_Tech
just so you know, language-4dm is for 4D method code (project mode, or METHOD GET CODE with tokens). it is a "tree-sitter" parser, a relatively new type of syntax highlighting. language-4dtag is for 4D code embedded in XML or HTML. this one is a regular type of parser. (regex based). ---

Re: v17.4 and UUIDs

2020-03-27 Thread Keisuke Miyako via 4D_Tech
not 100% sure, but maybe the duplicates are actually nulls. if you display the UUID fields in a list form, and resize the window, do the values change? if yes, what you see are phantom UUIDs, there are actually null. I assume you added auto-generating UUIDs, I assume you did this in a v17.4

Re: v17.4 and UUIDs

2020-03-27 Thread Chuck Miller via 4D_Tech
It is not my code. It is 4D that fills in the UUIDs in this circumstance. The question is why does 4D fill in some but not all UUIDs Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions,

Re: v17.4 and UUIDs

2020-03-27 Thread Jeffrey Kain via 4D_Tech
Bug in your code? > On Mar 27, 2020, at 11:44 AM, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I would have assumed that all UUIDs would be filled. Indeed, most of them > were, but there were a few tables where there were duplicate values. Any > ideas as to why

Re: Text Editor Which Knows 4D Tags?

2020-03-27 Thread Tom Benedict via 4D_Tech
Thanks for pointing this out Milan. Also, here’s the link to Miyako’s Atom page… https://atom.io/users/miyako , although I see that there is a UI within Atom for installing Packages where you can lookup all his 4D stuff. Tom Benedict > On Mar 27, 2020, at

Re: Text Editor Which Knows 4D Tags?

2020-03-27 Thread Milan Adamov via 4D_Tech
> On Mar 27, 2020, at 3:34 AM, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Thanks Neil. I”ll check out Atom. I have a MacOS, but do all my 4D work in > Windows via Parallels. This kind of thing I need to do infrequently so I will > just copy the file to the MacOS and view it