Re: Force the execution of an object method

2017-03-14 Thread Foucauld Perotin via 4D_Tech
Thanks David, thanks Jim and thank Chip for your replies. And sorry that I didn’t post earlier. It’is for reasons of organization of my software that I wanted to do that part in an object method (actually, I have to create recursive links, so doing the research in another process is the best

Re: Force the execution of an object method

2017-03-12 Thread David Adams via 4D_Tech
A couple of things. * First off, CALL FORM has _nothing_ to do with On Outside Call. The CALL FORM mechanism doesn't generate an event. (Actually, I have to double-check that...) * As John DeSoi summarized elsewhere, CALL FORM/CALL WORKER is just a way to execute a chunk of code in another

Re: Force the execution of an object method

2017-03-12 Thread Chip Scheide via 4D_Tech
write a project method My_Code_For_Object_xxx (needed_Parameters; including_Form_Event; and_or_Object_pointer) Then you can access the code from anywhere. If you are looking for an object reference in your method you can get a pointer to the form object, and you can pass in whatever form event

Re: Force the execution of an object method

2017-03-12 Thread Jim Dorrance via 4D_Tech
Why in the object and not in the object method called from the form? The form method has access to all the dynamic form variables, including the form object initiating the call. On Sun, Mar 12, 2017 at 5:46 PM, Foucauld Perotin via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi, > > I am doing

Force the execution of an object method

2017-03-12 Thread Foucauld Perotin via 4D_Tech
Hi, I am doing things by using CALL WORKER, and then reply by CALL FORM. Last june, you alreadu discussed here the possibility to have the form method being used then by using CALL PROCESS (Current Process). I wanted to do something like that, BUT I would like to do the end of the job in an