Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning value to property of object indirectly
Message
De
24/11/2015 11:23:20
 
 
À
21/11/2015 10:53:26
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01627690
Message ID:
01627850
Vues:
53
>>>STORE "Store" TO ("_screen." + "Caption")
>>>= ADDPROPERTY(_screen, "Caption", "AddProperty")
>>>_vfp.SetVar("_screen.Caption", "_vfp.setvar")
>>
>>addproperty is not good.
>>it create a missed property.
>
>ADDPROPERTY() will just work fine. If the property already exists, it will just set it.
>
>Walter,

If the program is incorrect and the property name within the variable is bad,
the program continue without errors ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform