>>>>>>>Hi,
>>>>>>>
>>>>>>>What can cause the above error when setting a property of an object?
>>>>>>>
>>>>>>>I have a class derived from 'Container' with a property named 'IsValid' with an access method that simply returns T.
>>>>>>>A second class is derived from this which overrides the IsValid_Access by returning 'This.IsValid'
>>>>>>>
>>>>>>>In the InteractiveChange of a textbox in the class I have:
>>>>>>>
>>>>>>
>>>>>>Check Hidden/protected attribute
>>>>>>
>>>>>>
>>>>>>? PEMSTATUS(THIS.Parent,"IsValid",2)
Returns F - everything is public :-{
>>>>
>>>>Rename the IsValid_Access to IsValid_Access_, then try again.
>>>
>>>Thank you ! That worked (once I'd put the sub-classed code into the renamed method)
>>>So are you going to tell me why it worked (i.e. what was wrong before) :-}
>>>
>>>Regards,
>>>Viv
>>>
>>
>>Hard to say something without having the code in my hands.
>>
>>Post IsValid_Access code ...
>Pretty minimal. Just:
IF !THIS.IsValid
> ?? CHR(7)
> THIS.Label2.VISIBLE = .T.
>ENDIF
>RETURN THIS.IsValid
>
>Regards,
>Viv
try to reactivate the method ... now