Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1734 when setting property
Message
From
05/01/2009 12:33:46
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01371076
Message ID:
01371081
Views:
15
>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   &&(i.e the class instance)
>  .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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform