Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1734 when setting property
Message
De
05/01/2009 12:35:21
 
 
À
05/01/2009 12:25:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01371076
Message ID:
01371083
Vues:
18
You might see if it is hidden:

Re: Exists one property or method hidden? Thread #809679 Message #809691


>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:
>
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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform