Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with EVALUATE()
Message
De
26/02/2006 05:31:06
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
26/02/2006 00:54:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01099237
Message ID:
01099251
Vues:
14
>Use
>
>FOR nCounter = 1 TO 4
>    * = EVALUATE("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".Enabled = .F.")
>    * = EVALUATE("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".text1.Enabled = .F.")
>    Store .f. To ("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".Enabled"), ;
>                 ("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".text1.Enabled")
>ENDFOR
>
>>but it is not worked.
>>WHY?
>
>Because each eval does a compare of the property and sends the result of the comparison into nirvana, as you have no variable left of the assigning "=" in front of the eval().
>
>HTH
>
>thomas

Thank you very much
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform