Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CLR and VFP
Message
De
29/08/2000 19:57:00
 
 
À
29/08/2000 19:52:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00409695
Message ID:
00410558
Vues:
17
>>>Even in VFP, dynamic object resolution and dynamic property setting can be done without macros.
>>
>>
>>OK, so how would you do an object/property reference where ALL of it comes from a data table. I know I can get the object reference using EVAL(), but how would I do the property (set to a value)?
>>
>>

>>Table
>>Object Property
>>MyForm Left
>>
>>
>>oForm = EVAL(Table.Object)
>>cProp = Table.Property
>>oForm.&cProp = 100
>>

>>
>>?????
>
>cMyProp = Table.object + '.' + Table.Property
>
>STORE 100 TO (cMyProp)

OK! I guess I could live without macro substitution as long as we have name subs and some other way to do built-up SQL's, too. Thanks, Ed.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform