RE: CALL FORM and CALL WORKER

2017-12-01 Thread Piotr Chabot Stadhouders via 4D_Tech
In fact, the functionality explained below could be seen as setting an alarm
The alarm fires after a second (period of time)
In the meantime it can be reset to again wait for a period of time before it 
fires

Gr,

Piotr

Van: Piotr Chabot Stadhouders
Verzonden: vrijdag 1 december 2017 17:40
Aan: 4D iNug Technical <4d_tech@lists.4d.com>
Onderwerp: CALL FORM and CALL WORKER

Hi,

This is the first time I am going to use CALL FORM and CALL WORKER

I am going to convert a "Searchbox" mechanism where a user enters some 
characters and after 3 or more characters the search is started
This was done by a custom Timer mechanism implemented via a separate process 
and inter process arrays

I could call CALL FORM from within the "On After Keystroke" event of the search 
field, but there is a catch
The search isn't started right away after typing 3 characters, but waits for 1 
second to see if there are more characters typed

So, in the old way there is a method that adds a search request to the 
interprocess arrays and a process that handles the requests
However, after typing more characters within 1 second the request is reset and 
the 1 second waiting starts over again
If the 1 second passes the process calls the form with CALL PROCESS

It is this waiting part that is a problem for me to implement
I don't know how to do this with CALL FORM / WORKER

Does anybody know how to do this? Thomas Maul perhaps?

Gr,

Piotr

**
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: CALL FORM and CALL WORKER ideas (Was: 4D World Tour - Get off the fence)

2017-04-06 Thread David Adams via 4D_Tech
Jeffrey,

Thanks for the note on subforms, that's good to hear. The last time I
looked at them I found little in the docs and thought that it might be an
orphaned features. Now I see that there are several pages in the Design and
Language manuals. Sounds like it's time for another look, I certainly like
the concept.
**
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: CALL FORM and CALL WORKER ideas (Was: 4D World Tour - Get off the fence)

2017-04-05 Thread Jeffrey Kain via 4D_Tech
I also thought the discussion on subforms was excellent too. I have to admit 
that I've never even looked at them, but they are definitely a game-changer as 
well. So, not a new feature but definitely new to me.

--
Jeffrey Kain
jeffrey.k...@gmail.com

> On Apr 5, 2017, at 5:49 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I noticed as a theme a lot of excitement about CALL FORM and CALL WORKER.

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