>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)
WITH THIS.Parent
> .IsValid = .T.
>ENDWITH
The .IsValid=.T. line raises the 1734 error. If I suspend before the line executes the debugger shows the correct value for .IsValid
>
>I don't see why the accessor code I've mentioned would be relevant since the line is question is assigning rather than accessing the property value but thought I'd mention it.
>This is old code and ,AFAIK, worked OK in the past and no code changes have been made although it''s possible that the environment settings have changed (but I can't think of one that would affect this?)
>
>Maybe this is something simple and I've just been away from VFP for too long?
>Regards,
>Viv