Re: How can a component get a pointer to a host form (dynamic) variable?

2017-10-14 Thread Jeremy Roussak via 4D_Tech
I think I may be being dim, but I don’t understand. Could you give some better 
idea of how the various component methods are called?

Jeremy


Jeremy Roussak
j...@mac.com



> On 11 Oct 2017, at 17:14, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> No, the pointer is nil. I finally execute a host process that executes a
> component process that returns the picture to the host to be copied to a
> host form var. There must be a simpler way:(
> 
> 
> On Wed, Oct 11, 2017 at 5:49 PM, Jeremy Roussak via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Can’t the pointer be passed from the host as a parameter to the method in
>> the host which draws the picture? Just a thought.
>> 
>> 
>> Jeremy Roussak
>> j...@mac.com
>> 
>> 
>> 
>>> On 11 Oct 2017, at 14:06, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com>
>> wrote:
>>> 
>>> Thanks.
>>> 
>>> I just want to copy a SVG picture created in a component ( using lots of
>>> data only available in the subform) to the host form.
>>> 
>>> On Wed, Oct 11, 2017 at 2:21 PM, Jeremy Roussak via 4D_Tech <
>>> 4d_tech@lists.4d.com> wrote:
>>> 
 Jim,
 
 I do it via a callback routine in the host. To make things easy, the
 component creates several methods in the host the first time it’s used.
 
 Jeremy
 
 Jeremy Roussak
 j...@mac.com
 
 
 
> On 11 Oct 2017, at 13:02, Jim Dorrance via 4D_Tech <
>> 4d_tech@lists.4d.com>
 wrote:
> 
> How can a component method get a pointer to a host form (dynamic)
 variable?
> 
> --
> Jim Dorrance
 **
 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
 **
>>> 
>>> 
>>> 
>>> 
>>> --
>>> Jim Dorrance
>>> jim.dorra...@gmail.com
>>> 4...@dorrance.eu
>>> www.4d.dorrance.eu
>>> 
>>> PS: If you know of anyone that needs an experienced 4D programmer to add
>>> energy and experience to their team, please let me know. I have
>>> experience in many areas. Reasonable rates. Remote or Paris only.
>>> **
>>> 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
>>> **
>> 
>> **
>> 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
>> **
>> 
> 
> 
> 
> -- 
> Jim Dorrance
> jim.dorra...@gmail.com
> 4...@dorrance.eu
> www.4d.dorrance.eu
> 
> PS: If you know of anyone that needs an experienced 4D programmer to add
> energy and experience to their team, please let me know. I have
> experience in many areas. Reasonable rates. Remote or Paris only.
> **
> 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
> **

**
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: How can a component get a pointer to a host form (dynamic) variable?

2017-10-11 Thread Jim Dorrance via 4D_Tech
No, the pointer is nil. I finally execute a host process that executes a
component process that returns the picture to the host to be copied to a
host form var. There must be a simpler way:(


On Wed, Oct 11, 2017 at 5:49 PM, Jeremy Roussak via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Can’t the pointer be passed from the host as a parameter to the method in
> the host which draws the picture? Just a thought.
>
>
> Jeremy Roussak
> j...@mac.com
>
>
>
> > On 11 Oct 2017, at 14:06, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Thanks.
> >
> > I just want to copy a SVG picture created in a component ( using lots of
> > data only available in the subform) to the host form.
> >
> > On Wed, Oct 11, 2017 at 2:21 PM, Jeremy Roussak via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> Jim,
> >>
> >> I do it via a callback routine in the host. To make things easy, the
> >> component creates several methods in the host the first time it’s used.
> >>
> >> Jeremy
> >>
> >> Jeremy Roussak
> >> j...@mac.com
> >>
> >>
> >>
> >>> On 11 Oct 2017, at 13:02, Jim Dorrance via 4D_Tech <
> 4d_tech@lists.4d.com>
> >> wrote:
> >>>
> >>> How can a component method get a pointer to a host form (dynamic)
> >> variable?
> >>>
> >>> --
> >>> Jim Dorrance
> >> **
> >> 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
> >> **
> >
> >
> >
> >
> > --
> > Jim Dorrance
> > jim.dorra...@gmail.com
> > 4...@dorrance.eu
> > www.4d.dorrance.eu
> >
> > PS: If you know of anyone that needs an experienced 4D programmer to add
> > energy and experience to their team, please let me know. I have
> > experience in many areas. Reasonable rates. Remote or Paris only.
> > **
> > 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
> > **
>
> **
> 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
> **
>



-- 
Jim Dorrance
jim.dorra...@gmail.com
4...@dorrance.eu
www.4d.dorrance.eu

PS: If you know of anyone that needs an experienced 4D programmer to add
energy and experience to their team, please let me know. I have
experience in many areas. Reasonable rates. Remote or Paris only.
**
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: How can a component get a pointer to a host form (dynamic) variable?

2017-10-11 Thread Jeremy Roussak via 4D_Tech
Can’t the pointer be passed from the host as a parameter to the method in the 
host which draws the picture? Just a thought.


Jeremy Roussak
j...@mac.com



> On 11 Oct 2017, at 14:06, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Thanks.
> 
> I just want to copy a SVG picture created in a component ( using lots of
> data only available in the subform) to the host form.
> 
> On Wed, Oct 11, 2017 at 2:21 PM, Jeremy Roussak via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Jim,
>> 
>> I do it via a callback routine in the host. To make things easy, the
>> component creates several methods in the host the first time it’s used.
>> 
>> Jeremy
>> 
>> Jeremy Roussak
>> j...@mac.com
>> 
>> 
>> 
>>> On 11 Oct 2017, at 13:02, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com>
>> wrote:
>>> 
>>> How can a component method get a pointer to a host form (dynamic)
>> variable?
>>> 
>>> --
>>> Jim Dorrance
>> **
>> 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
>> **
> 
> 
> 
> 
> -- 
> Jim Dorrance
> jim.dorra...@gmail.com
> 4...@dorrance.eu
> www.4d.dorrance.eu
> 
> PS: If you know of anyone that needs an experienced 4D programmer to add
> energy and experience to their team, please let me know. I have
> experience in many areas. Reasonable rates. Remote or Paris only.
> **
> 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
> **

**
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: How can a component get a pointer to a host form (dynamic) variable?

2017-10-11 Thread Jim Dorrance via 4D_Tech
Thanks.

I just want to copy a SVG picture created in a component ( using lots of
data only available in the subform) to the host form.

On Wed, Oct 11, 2017 at 2:21 PM, Jeremy Roussak via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Jim,
>
> I do it via a callback routine in the host. To make things easy, the
> component creates several methods in the host the first time it’s used.
>
> Jeremy
>
> Jeremy Roussak
> j...@mac.com
>
>
>
> > On 11 Oct 2017, at 13:02, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > How can a component method get a pointer to a host form (dynamic)
> variable?
> >
> > --
> > Jim Dorrance
> **
> 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
> **




-- 
Jim Dorrance
jim.dorra...@gmail.com
4...@dorrance.eu
www.4d.dorrance.eu

PS: If you know of anyone that needs an experienced 4D programmer to add
energy and experience to their team, please let me know. I have
experience in many areas. Reasonable rates. Remote or Paris only.
**
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: How can a component get a pointer to a host form (dynamic) variable?

2017-10-11 Thread Jeremy Roussak via 4D_Tech
Jim,

I do it via a callback routine in the host. To make things easy, the component 
creates several methods in the host the first time it’s used.

Jeremy

Jeremy Roussak
j...@mac.com



> On 11 Oct 2017, at 13:02, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> How can a component method get a pointer to a host form (dynamic) variable?
> 
> -- 
> Jim Dorrance
**
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
**

How can a component get a pointer to a host form (dynamic) variable?

2017-10-11 Thread Jim Dorrance via 4D_Tech
How can a component method get a pointer to a host form (dynamic) variable?

-- 
Jim Dorrance
jim.dorra...@gmail.com
4...@dorrance.eu
www.4d.dorrance.eu

PS: If you know of anyone that needs an experienced 4D programmer to add
energy and experience to their team, please let me know. I have
experience in many areas. Reasonable rates. Remote or Paris only.
**
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
**