How to avoid duplicating methods

Phil (OmnisList) phil at
Fri Jan 6 13:46:58 UTC 2023

Hi Martin,

So why can't any sub window call the main window method and get the list 
it returns?

Surely it can, and there are no limitations?

I'm not sure I understand your query?

Phil Potter
Based in Chester in the UK.

On 06/01/2023 13:01, Martin Obongita via omnisdev-en wrote:
> Hi All,
> I have a sub window that fetches a list from a table class by calling a method in the main window.
> $cwind.$getDataList
> 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 function.
> Kind regardsMartin Obongita
> _____________________________________________________________
> Manage your list subscriptions at
> Start a new message ->mailto:omnisdev-en at  

More information about the omnisdev-en mailing list