Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property is not found
Message
De
30/07/2019 10:34:46
 
 
À
29/07/2019 13:21:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01669782
Message ID:
01669818
Vues:
57
Tamar;

Indeed you are correct.
Have enjoyed your speaking at conferences over the years.
it was a poor way for me to state a hypothetical question.
indeed it is a property in reality.

have you ever encountered a situation where a public property, available in design mode went missing at runtime?

regards

>When i execute my app in dev mode and step through the code where these properties are assigned values:
>Foo = ""
>Foo1 = 0.00
>life is good.
>
>Next i run the app without debugging assuming the best and these property assignments are made without issue.
>
>Now i am ready to execute my app in run time and my code fails at this line:
>Foo1 = 0.00
>The error is: "Property "Foo1 is not found."
>
>VFP 8 by the way.
>
>Any clues?

Those aren't assignments to properties. Those are assignments to variables. If you want to assign values to properties, you need to indicate what object they belong to, something like:
This.Foo = ""
or:
oObj.Foo = ""
Tamar
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform