How to avoid duplicating methods
martin.obongita at yahoo.com
Fri Jan 6 16:40:38 UTC 2023
In the save method I call the verify method which validates and returns errors to the entry fields.
Moving the verify method to table class would break the Do $cinst.$clientcommand.
So moving the save method to an object makes better sense.
Sent from Yahoo Mail on Android
On Fri, 6 Jan 2023 at 19:30, Rocco [KUNVI]<r.ventura at kunvi.it> wrote: Is it possible move the method to a table-class so you can call it from
everywhere, from the row/list 😉?
Il giorno ven 6 gen 2023 alle 14:01 Martin Obongita via omnisdev-en <
omnisdev-en at lists.omnis-dev.com> ha scritto:
> Hi All,
> I have a sub window that fetches a list from a table class by calling a
> method in the main window.
> I would wish to fetch the same list from the same table but in a different
> sub window.
> I do not want to copy the method from one window to another.
> Is there a function that can call a method in a main window(A) from a sub
> window of main window (B)?
> I cannot inherit the window because Window (B) is performing a different
> Kind regardsMartin Obongita
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
Distinti saluti. Best regards.
*Rocco Dr. Ventura*
WMS Analist and Software Developer
*KUNVI srl - **Experiences Holding *(G)* - www.kunvi.it
Email: r.ventura at kunvi.it - Mobile: +39 348 5186051
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en