Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1734 when setting property
Message
De
05/01/2009 12:25:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Error 1734 when setting property
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01371076
Message ID:
01371076
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform