Re: Object notation bug?

2019-02-22 Thread Tim Nevels via 4D_Tech
On Feb 22, 2019, at 8:43 AM, Kirk Brooks wrote: > 2) if you need DIALOG just wrap it in another object. I like to use 'data'. > So you can do this: > > $obj:=New object("data";$oChildObject) > > DIALOG("myForm";$obj) > > It's simple to change the references on the form objects to >

Re: Object notation bug?

2019-02-21 Thread Kirk Brooks via 4D_Tech
Drew, On Thu, Feb 21, 2019 at 10:27 AM Drew Waddell via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I am unable to do $oChildObject:=null in my actual situation because I am > passing that object into a Dialog You run into this when passing the object to a new form using DIALOG. I use two

RE: Object notation bug?

2019-02-21 Thread Drew Waddell via 4D_Tech
ech-boun...@lists.4d.com> On Behalf Of Drew Waddell via 4D_Tech Sent: Thursday, February 21, 2019 1:28 PM To: Olivier Deschanels ; 4D iNug Technical <4d_tech@lists.4d.com> Cc: Drew Waddell Subject: RE: Object notation bug? I am unable to do $oChildObject:=null in my actual situation

RE: Object notation bug?

2019-02-21 Thread Drew Waddell via 4D_Tech
having loop over all properties in the child and remove them individually? Drew -Original Message- From: Olivier Deschanels Sent: Thursday, February 21, 2019 1:21 PM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Drew Waddell Subject: Re: Object notation bug? Hi,

Re: Object notation bug?

2019-02-21 Thread Olivier Deschanels via 4D_Tech
Hi, That’s not a bug. That’s normal. $oChildObject:=New object create a reference to a object store in $oChildObject OB SET($oParentObject;"ChildInformation";New object) push another reference into the $oParentObject but the old reference still exist because $oChildObject isn’t cleared. you

Object notation bug?

2019-02-21 Thread Drew Waddell via 4D_Tech
I am trying to figure out if this is a bug or not. This is a watered down version of something I am trying to do: C_OBJECT($oParentObject;$oChildObject) $oChildObject:=New object $oParentObject:=New object