Hi Jeremy,
Thanks! The fog is clearing…
Over-thinking is my speciality!
Appreciate,
John…
> I think you have it: it is indeed magic!
>
> The method called, via CALL FORM, by the worker has full access to all the
> form’s variables (in that way, it’s just like a form method). Your worker
>
John,
I think you have it: it is indeed magic!
The method called, via CALL FORM, by the worker has full access to all the
form’s variables (in that way, it’s just like a form method). Your worker
process can pass it, for example in an object, the values to be added to the
listbox’s arrays. It
Hi Lahav,
Ref: "You are actually calling a method that runs in the context of the form
window. You don't need to trap for an event, the method just runs and does
whatever it needs to do in the context of the form.”
I think I get it.
Ref: "One question for you, any reason to use arrays rather
ther than a collection?
Lahav
-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of John J Foster via
4D_Tech
Sent: Monday, March 9, 2020 11:22 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John J Foster
Subject: Re: Active Listbox/Form while listbox dynam
Hi Peter,
> Method specified in CALL FORM is called in the form just like form method,
> but is not part of form method, nor is it called from form method.
Yes that was my problem expecting that it was somehow related to the form
method, per se.
After I finish the main search routine I’ll
Hi Peter,
That makes sense and I beginning to get a sense/visualize it.
This stuff is like magic in comparison to the older approach.
Thank you Peter!!!
John...
> On Mar 9, 2020, at 10:25 AM, Peter Bozek wrote:
>
>
>
> On Mon, Mar 9, 2020 at 5:52 PM John J Foster via 4D_Tech
>
On Mon, Mar 9, 2020 at 6:22 PM John J Foster via 4D_Tech <
4d_tech@lists.4d.com> wrote:
>
> Ref: "An easier way to think of CALL FORM is to look at it as the old ON
> OUTSIDE CALL event in a form, but with the added bonus of being able pass
> data to the form as parameters from the calling
On Mon, Mar 9, 2020 at 5:52 PM John J Foster via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> Hi Peter,
>
> I haven’t used CALL WORKED/CALL FORM yet. I’ve seen some tutorials by John
> Baughman which made sense when I watched them. But a different context I
> think.
>
>
Idea is as follows: you cannot
Hi Lahav,
Good to hear from you my man!
Ref: "An easier way to think of CALL FORM is to look at it as the old ON
OUTSIDE CALL event in a form, but with the added bonus of being able pass data
to the form as parameters from the calling process, without using global
variables."
I kind of get
<4d_tech-boun...@lists.4d.com> On Behalf Of John J Foster via
4D_Tech
Sent: Monday, March 9, 2020 10:43 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John J Foster
Subject: Re: Active Listbox/Form while listbox dynamically built
Hi Peter,
Yea, that’s what I thought!
So trying t
Hi Peter,
I haven’t used CALL WORKED/CALL FORM yet. I’ve seen some tutorials by John
Baughman which made sense when I watched them. But a different context I think.
I guess that’s why my brain is not seeing this clearly yet.
My search form has a bunch of variables including a date range, a
Hi Peter,
Yea, that’s what I thought!
So trying to understand (aka, visualize in my minds eye before I code) how to
correctly get back the rows being returned from another process. I am thinking
of some sort of object.
I’m still trying to follow Olivier’s explanation “try to see CALL FORM as
On Mon, Mar 9, 2020 at 4:46 PM John J Foster via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> Hi Olivier,
>
> I think I’m so use to thinking of a process, aka CALL WORKER, as being
> independent. The variables are of the process. So in this case that would
> have to mean that the listbox and arrays
We did something similar with colleague, some time ago, not in 4D, but idea
would be similar:
1. we initialised arrays to proper size (amount of data was know
beforehand). At that moment, user would see an area with empty lines
2. we run a process that calculated the lines and updated arrays and
Hi Olivier,
I think I’m so use to thinking of a process, aka CALL WORKER, as being
independent. The variables are of the process. So in this case that would have
to mean that the listbox and arrays are seen and updated in both the form and
the process.
Is that right?
John...
> Try to see
|| https://flury-software.ch/
-Ursprüngliche Nachricht-
Von: 4D_Tech <4d_tech-boun...@lists.4d.com> Im Auftrag von John J Foster via
4D_Tech
Gesendet: Montag, 9. März 2020 14:33
An: 4d_tech@lists.4d.com
Cc: John J Foster
Betreff: Re: Active Listbox/Form while listbox dynamic
Hi Jeremy,
OK, conceptually then:
LB Form (array based - 5-8 arrays) -> Search button spawns CALL WORKER
So then CALL WORKER searches and as it finds a match it returns them via CALL
FORM (perhaps in an object) and then the listbox rows are processed…
So the question is - since CALL FORM
John:
Jeremy is suggesting what I have used. I have a similar but slightly different
update of the data displayed in a listbox that needs to occur throughout the
time it is in use. The Call Worker and Call Form is what I have used. It is
easier to do than the type of code we used to have to
John,
Have a look at CALL WORKER and CALL FORM.
Start the data build in a new process using CALL WORKER.
Have the worker process prod the form into updating the listbox from time time
using CALL FORM.
I’ve implemented something much more trivial and it works nicely.
Jeremy
> On 8 Mar 2020,
Hi All,
4D v17 R5 (Mac and Windows single user standalone)
I have a list box that needs to be built and available before the calculation
is complete. In this case I have some searches looking for particular
conditions and when found add them to the listbox. They could easily take a few
20 matches
Mail list logo