Simple thing baffling me
Scotte Meredith
spomacguy at gmail.com
Thu Nov 10 17:48:10 UTC 2022
Not tested, but I think you should be using $cinst.$objs.MyObjectName.$remove()
You point to the object on the path ($cinst.$objs.MyObjectName), then tell it to remove it.
> On Nov 10, 2022, at 9:34 AM, Das Goravani <goravanis at gmail.com> wrote:
>
>
> Hello all,
>
> I have a sub window inside another window.
>
> When the sub window is instantiating inside the main window I want to remove fields on it up to a certain point.
>
> The sub window is running it’s $construct()
>
> In that, I am using this notation to remove objects
>
> Do $cinst.$objs.$remove(8)
>
> But it doesn’t work, it does not remove the object
>
> I have tried with names too.
>
> Any ideas?
>
> Das
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
Scotte Meredith
spomacguy at gmail.com
509/998-0991
More information about the omnisdev-en
mailing list