>>Now I need to figure out how to create a PROPERTY in the PRG class and check the box Access method.
>>But I see now that I was missing a couple of points. Thank you.
>
>Believe it or not, it's as simple as listing a property value among other properties, and then creating an access method:
>
>
loExample=createobject("JustExample")
>?loExample.customProperty
>
>define class JustExample as custom
> customProperty="some text"
>
> procedure customProperty_access()
> return "some other text"
>enddefine
Your example works. Thank you.
My problem was that I used the word "Function" instead of "Procedure" in the class where the Access property was used. Once I made the change, I can see the light :)
Thank you and all who took the time from preparing for the holidays and instead helping me :))
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham