Notation to see a class variable in a CodeClass

Michael Mantkowski michaelj at clientrax.com
Tue Jan 14 13:20:16 UTC 2025


Hi Doug,

Yes, of course I can do that. But now its kind of a bug in my brain as I feel like I should have been able to do it the other way and can't figure it out. lol

This works for an Open Window. - $iwindows.MedicalRecords.$ivars.iv1Picture

*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************


-----Original Message-----
From: omnisdev-en On Behalf Of Doug Easterbrook via omnisdev-en
Sent: Tuesday, January 14, 2025 8:12 AM
To: OmnisDev List English <omnisdev-en at lists.omnis-dev.com>
Cc: Doug Easterbrook <doug at artsman.com>
Subject: Re: Notation to see a class variable in a CodeClass

Hi Mike

Make an accessor class to return the value.  Then display the returned value

Eg

Do code methods classname/$getvalue returns value
------------
Doug Easterbrook
Arts Management Systems Ltd.
doug at artsman.com

> On Jan 14, 2025, at 7:08 AM, Michael Mantkowski <michaelj at clientrax.com> wrote:
> 
> Morning all,
> 
> This is defeating me so far...
> 
> I want to display the value of a CodeClass class variable on a window.  
> I cannot seem to come up with the proper notation. What I thought 
> should work below does not.
> 
>    $clib.$codes.CodeClass.$cvars.cvPetsAppKey
> 
> Anyone see what I am doing wrong?
> 
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
> 
> 
> 
> _____________________________________________________________
> 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