[EXTERNAL]Simple thing baffling me
Brian A O'Sullivan
brian.a.o-sullivan at axalta.com
Thu Nov 10 21:43:13 UTC 2022
Most of the notation group methods expect an item reference as the parameter, so do something more like:
Set reference myRef to $cinst.$objs.$first()
Actually not sure if Omnis will auto-adjust the tab-order of fields as they are deleted one-by-one... if so, then you'd need a different way to control the loop to determine when you've deleted all the fields of interest.
Brian A. O'Sullivan
Bear, DE USA
Sensitivity: Business Internal
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of Das Goravani
Sent: Thursday, November 10, 2022 12:35 PM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: [EXTERNAL]Simple thing baffling me
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
But it doesn't work, it does not remove the object
I have tried with names too.
Manage your list subscriptions at https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.omnis-dev.com%2F&data=05%7C01%7C%7C12c19b20214940594a4208dac341ee1d%7C8b4a07aecf3941d38e235c8d4c152da5%7C0%7C0%7C638036985183853498%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=iQoo5GHhcw6uQV6yt%2BZCyDgCwWOJ07b3z%2FOgSvqpdrM%3D&reserved=0
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
This communication is for use by the intended recipient and contains information that may be Privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties. For more information regarding how we collect and use your personal data, and any related rights you may have, please review our Privacy Statement. <https://www.axalta.com/corporate/en_US/privacy.html>
More information about the omnisdev-en