Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread GetProperty on public properties?
Mon, Dec 12 2016 10:26 AMPermanent Link

Matthew Jones

I am doing a "generic" data editor and have successfully used GetProperty to read published properties. However I want some calculated properties, so I created public properties with functions behind, and these are not accessible using GetProperty.

Is there a way to do this in EWB? I shall default to making a function that can be called to get such, but if there is a proper way that will work better, please let me know...

--

Matthew Jones
Wed, Dec 14 2016 3:07 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I am doing a "generic" data editor and have successfully used GetProperty to read published properties. However I want some calculated properties, so I created public properties with functions behind, and these are not accessible using GetProperty.

Is there a way to do this in EWB? >>

Not really, no.  The only way to make such a call would be to wrap it into a published property that calls the function/procedure in its getter/setter.

Tim Young
Elevate Software
www.elevatesoft.com
Image