$iwindows to return Class name
Nick Renders
omnis1 at arcict.com
Tue Mar 18 15:54:55 UTC 2025
Yep, that did the trick.
Thanks Alan!
Nick
On 18 Mar 2025, at 16:39, Alan Davey wrote:
> Hi Nick,
>
> Try this:
> Calculate #L1 as $iwindows.$makelist($ref.$name,$ref.$class().$name)
>
> If you need the library name as well, add $ref.$lib().$name.
>
> Regards,
>
> Alan
>
> On Tue, Mar 18, 2025 at 11:30 AM Nick Renders via omnisdev-en <
> omnisdev-en at lists.omnis-dev.com> wrote:
>
>> Hi List,
>>
>> Is there any way to find out the name of the class for a window instance?
>> I know $cclass().$name will return it for the current instance, but how do
>> you get it for an instance of $iwindows.$makelist()?
>> I guess I could make public method (or custom property) in the window
>> superclass, but I was wondering if there was some build-in notational way?
>>
>> Regards,
>>
>> Nick Renders
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>
> _____________________________________________________________
> 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
mailing list