Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Reference
Message
De
26/12/2007 19:21:02
 
 
À
26/12/2007 12:19:37
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01277566
Message ID:
01277650
Vues:
15
>How can I have a reference to an object like this?
>
>
>loLine = 'loLine' + ALLTRIM(STR(ix))
>&loLine = LineToObject(laLines[m.ix])
>
>
>So that I can reference loLine5.Property if ix = 5 ?
>
>The above doesn't work.

Not sure exactly what you are looking for. My guess is something like.........
? EVAL("loLine"+ALLTRIM(STR(ix))+".property")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform